Translations #9
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe what you'd like to be able to do
Use PowerTools with text in a different language, ideally the system language of SteamOS.
Additional context
This would require people to volunteer to translate, as well as a big re-write of the UI components to load text at runtime.
i can translate to french if you generate po/pot files and use GetText
I can translate both to german and spanish is help is still required
Help is always appreciated. I haven't seen much interest in getting translations into PowerTools so its simply low-priority.
Just hit me up if at some point it becomes one, I'd be so proud to be able to help with this amazing project
I can provide Chinese
As of 8bc9c7b I've added support for alternate translations with per-string fallback to the current English ones. This works almost exactly like how gettext works, with some larger differences in implementation details which don't really matter for translators.
Important info for interested translators:
translations/pt.pot
, so make a copy and start filling it out.msgid
is the reference phrase; the translated one should go in the corresponding (empty)msgstr
line. This is the standard gettext format, so if you're unsure on how to fill it out look into that.<locale>.po
where<locale>
is the four-letter language name (e.g.en-CA
for Canadian English,fr-FR
for France French, etc.).Thanks to anyone who expressed interest. Please don't feel obligated to write translations or anything like that, even if you were interested in the past. I know that ruins the fun in hobby projects for me (which is partly why this update is taking so long).
French done https://github.com/NGnius/PowerTools/pull/60
Add Simplified Chinese translation https://github.com/NGnius/PowerTools/pull/61
Spanish translation #62
Add Traditional Chinese translation https://github.com/NGnius/PowerTools/pull/63
Just a heads up that I added a new translation string "Defaults" (I missed the button at the bottom of the UI). I think my horrible new French and Spanish translations are ok, but the Chinese translations are not updated (they'll just fall back to English).
French is accurate for default :)
Sweet, 12 years of French classes have finally paid off!
Another heads up about translation changes: I've renamed the "Persistent" toggle. The translations msgid strings have all been updated, but none of the actual translation text has been. It's up to you whether you want to update translations to reflect that change.
Personally I don't care either way, since I thought the old name and description were good enough.
I will translate to czech language...
Hello thanks all that worked on the translation but is there a way to make it optional ?
Like I spend some time to understand where to turn off "SMT" simply because in French its named differently (not using the accronym).
When doing research online on Steam settings its pretty much everything sourced in English language making it hard to know what users are talking about if my interface is foreign :)
Currently the only way is by removing the files in
~/homebrew/plugins/PowerTools/translations
. You'll probably need superuser privileges to do that.I can definitely add a better way to disable the translated UI, but I wasn't planning on it.
I've added a few more strings that can be translated, if anyone wants to update their translations. I've update French myself since I can understand it well enough to have a decent chance of getting it right.
(stuff in green is new)
https://github.com/NGnius/PowerTools/compare/dev#diff-6f2985c68b21595b592613cf0dd6e6853b2c8467247ffdcff84e325b6b4fae2c
#98 is Italian
I can translate Simplified Chinese.
I have already translated the newly added strings.