-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how can I extract translation percentage? #117
Comments
You can do that with compare-locales. I found the docs for that tool a bit impenetrable, particularly for
I'll leave this ticket open as a reminder to add something to the docs about this. |
Le 2019-05-21 11:29, Luke Plant a écrit :
You can do that with compare-locales [1].
Thanks a lot! This saves me a lot of trouble...
Is this file the right one?
https://hg.mozilla.org/l10n/mozilla-central/file/tip/browser/locales/l10n.toml
If so, you may add a reference to this repository in the documentation.
|
The file format is documented at https://moz-l10n-config.readthedocs.io/en/latest/fileformat.html, though there might be a few quirks. The code for compare-locales is at https://hg.mozilla.org/l10n/compare-locales, so you could wrap your own project management and discovery around that. |
Oh, sorry, I forgot to tell you what is my goal: to measure the
translation statistics of Mozilla Firefox. That's why I was searching
for an existing toml file.
Without an existing toml file, I would use the python translation-finder
package and produce one manually, but if one exists already, I'm pleased
to reuse it :)
|
So, for Firefox, we're using cross-channel localization, and our reference strings are at https://hg.mozilla.org/l10n/gecko-strings/. The l10n config file for Firefox in there is https://hg.mozilla.org/l10n/gecko-strings/file/default/_configs/browser.toml. |
Le 2019-05-21 14:24, Axel Hecht a écrit :
So, for Firefox, we're using cross-channel localization, and our
reference strings are at https://hg.mozilla.org/l10n/gecko-strings/.
The l10n config file for Firefox in there is
https://hg.mozilla.org/l10n/gecko-strings/file/default/_configs/browser.toml.
Perfect, thank you, I think I have all needed for firefox.
Where can I ask other question if needed? I assume I may have similar
questions with Thunderbird and maybe with other applications.
|
Ok, it took me some times, the verbose output doesn't help much. can you please tell me how to interpret the results?
And I tried, but I couldn't get rid of the "locales" variable. I wanted to pass it as a parameter but didn't succeed.
|
kind reminder, can you please tell me how to interpret the results? and how to get rid of the "locales" list? here is my understanding:
|
hello, is there a way to have the translation progress of a fluent file?
for po files, I'm using this: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/pocount.html
can I use python-fluent to do something equivalent?
The text was updated successfully, but these errors were encountered: