The syntax python3 dist/langtool.py create plugins/builtin/romfs/lang <iso_code> doesn't seem to be working anymore (error: unrecognized arguments: plugins/builtin/romfs/lang )
Instead you need to use
python3 dist/langtool.py create --langdir plugins/builtin/romfs/lang --lang <iso_code>
(or just python3 dist/langtool.py create --lang <iso_code> for everything)
Haven't tried the translate but ig the same issue occurs
Not PRing as i'm not sure if that's a me issue or nah (apparently been like this for a long time & no one complaining?) but doesn't look like it, can make one if needed
Also unsure if ISO 639-1 is the right format as it seems to be just 2 letters representing the language while the existing translation files are using ICU Locales (combination of ISO 639- lowercase language & ISO 3166- uppercase country)
Could also be nice to have an indication to put the language/country names in English & not in the language you're translating to while being prompted to enter those
Operating System
Linux
What's the issue you encountered?
The syntax)
python3 dist/langtool.py create plugins/builtin/romfs/lang <iso_code>
doesn't seem to be working anymore (error: unrecognized arguments: plugins/builtin/romfs/langInstead you need to use
python3 dist/langtool.py create --langdir plugins/builtin/romfs/lang --lang <iso_code>
(or justpython3 dist/langtool.py create --lang <iso_code>
for everything)Haven't tried the
translate
but ig the same issue occursNot PRing as i'm not sure if that's a me issue or nah (apparently been like this for a long time & no one complaining?) but doesn't look like it, can make one if needed
Also unsure if ISO 639-1 is the right format as it seems to be just 2 letters representing the language while the existing translation files are using ICU Locales (combination of ISO 639- lowercase language & ISO 3166- uppercase country)
Could also be nice to have an indication to put the language/country names in English & not in the language you're translating to while being prompted to enter those
How can the issue be reproduced?
All said above
ImHex Version
x.x.x
ImHex Build Type
Installation type
git
Additional context?
No response