I'm Riccardo, a web developer from Udine, Italy.
Polyglot is a CLI tool that automates translations tasks. Using the DeepL API, Polyglot generates a translated file from a given source.
Home Page: https://pypi.org/project/polyglot-translator/
License: MIT License
Thanks for this great tool !
It works well, but I have one problem, to use your lib in real-life PO files from Odoo/OCA modules. My PO file contains:
#: code:addons/l10n_fr_das2/models/l10n_fr_das2.py:0
msgid "Company '%(company)s' is configured in country '%(country)s'."
msgstr ""
When I run:
python -m polyglot translate --from EN --to FR -s filename.po
I get the following result:
#: code:addons/l10n_fr_das2/models/l10n_fr_das2.py:0
msgid "Company '%(company)s' is configured in country '%(country)s'."
msgstr "L'entreprise \"%(entreprise)s\" est configurée dans le pays \"%(pays)s\"."
The keywords 'company' and 'country' should not be translated!
I'm trying to install on a debian testing machine and I'm getting this error:
0 jamie@liberace:~$ pip install deeply-translator
ERROR: Could not find a version that satisfies the requirement deeply-translator
ERROR: No matching distribution found for deeply-translator
1 jamie@liberace:~$
Any suggestions?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.