Summary: | [NEW_PORT] textproc/py-transpopy: Python tool to translate strings on a po file with google translate API | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Silvio Ap Silva <contato> | ||||||||
Component: | Individual Port(s) | Assignee: | Danilo G. Baio <dbaio> | ||||||||
Status: | Closed FIXED | ||||||||||
Severity: | Affects Some People | CC: | dbaio, ndowens04 | ||||||||
Priority: | --- | ||||||||||
Version: | Latest | ||||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
URL: | https://github.com/kanazux/transpopy | ||||||||||
Bug Depends on: | 230973 | ||||||||||
Bug Blocks: | |||||||||||
Attachments: |
|
Needs to be aligned better, and why explicit python version, builds fine even with 2.7; Though you're missing a module for it, so won't run in neither 2.7 or 3.6 (In reply to Nathan from comment #1) Really, the ident is wrong, i'm using vi(m) and not seen this. I'm sorry about this. About the missing package, i've been submit a new port for this, right now. The new port is on this issue. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230973 I'm sending a new shar file with modifications. Created attachment 196639 [details]
new shar file with modifications
New shar file with the google project in run_depends.
About setting the python version, is because the google project don't support python2 Created attachment 196641 [details] New shar file setting python 3.4+ and concurrent on USE_PYTHON I set the python version as 3.4+ because the project don't support python2 anymore. Bellow has a part of full discription in the github page of the project. "Heads up! These libraries are supported on App Engine standard's Python 3 runtime but are not supported on App Engine's Python 2 runtime." The full content is here: https://github.com/GoogleCloudPlatform/google-cloud-python A commit references this bug: Author: dbaio Date: Sat Sep 1 00:28:42 UTC 2018 New revision: 478646 URL: https://svnweb.freebsd.org/changeset/ports/478646 Log: Add textproc/py-transpopy: Translate PO file strings with Google Translate API Transpopy uses the Google Translate API to convert/translate strings from a PO (gettext Portable Object) file, keeping your lines or fuzzy references. To use the Google Translate API it's needed an API key in json format. WWW: https://github.com/kanazux/transpopy PR: 230964 Submitted by: Silvio Ap Silva <contato@kanazuchi.com> Changes: head/textproc/Makefile head/textproc/py-transpopy/ head/textproc/py-transpopy/Makefile head/textproc/py-transpopy/distinfo head/textproc/py-transpopy/pkg-descr Committed, thanks! |
Created attachment 196619 [details] Shar file for py-transpopy A simple tool to read and translate strings from a pot file. It will translate the message ids and then save a new po file keeping the line and fuzzy references, if exists.