-
Notifications
You must be signed in to change notification settings - Fork 154
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
Add translations #101
Comments
Yes, we can use kaeza's intllib mod for internationalization. Would you be able to add translations? |
I would like to translate it to Brazilian Portuguese. |
yes, i can add translations, i have see on mod more ores, it control if mod intllib is loaded and set the function S, else s=function(s) return s
every string must be insert in function S
my hint is to use a translation simbol. S("GOLD") locale/en.txt
is redundant, but we can take en.txt for make easy and total translation locale/it.txt
this is importat edit, i want talk before write |
No, that isn't how intllib is used. It should be used like this: |
in your method we must write on terminal this command for search every string to translate. |
@pagliaccio: With your method, yes. We would then have to translate all of the constants. However if a translation is not found the original string is returned, so you have to use real strings. |
I have pushed support for intllib. @aracnus and @pagliaccio: You can begin work on your translations. Use locale/template.txt to start. Once you have finished you can pull-request it. |
Can we add support for multiple languages to this mod?
The text was updated successfully, but these errors were encountered: