Noob questions
Moderator: Forum Moderators
- pyrophorus
- Posts: 533
- Joined: December 1st, 2010, 12:54 pm
Re: Noob questions
Hi !
Not totally clear in what you wrote, but if you put the .po file in the translation folder, it will not work. You have to produce a .mo file from the .po instead.
Poedit creates it by default when saving the .po file, and if not, go to the preferences panel "Editor" and check the box "Automatically compile .mo file on save"
HTH
Not totally clear in what you wrote, but if you put the .po file in the translation folder, it will not work. You have to produce a .mo file from the .po instead.
Poedit creates it by default when saving the .po file, and if not, go to the preferences panel "Editor" and check the box "Automatically compile .mo file on save"
HTH
HowTos: WML filtering, WML variables
Re: Noob questions
Yea, I had the mo file autognerated after save po file, but I dont see any of the strings translated when playing my campaign with Spanish as language settingspyrophorus wrote:Hi !
Not totally clear in what you wrote, but if you put the .po file in the translation folder, it will not work. You have to produce a .mo file from the .po instead.
Poedit creates it by default when saving the .po file, and if not, go to the preferences panel "Editor" and check the box "Automatically compile .mo file on save"
HTH
Be aware English is not my first language and I could have explained bad myself using wrong or just invented words.
World Conquest II
World Conquest II
- pyrophorus
- Posts: 533
- Joined: December 1st, 2010, 12:54 pm
Re: Noob questions
Did you put the .mo file in your translation folder ?
HowTos: WML filtering, WML variables
Re: Noob questions
Yep, in fact it was autogenerated there.pyrophorus wrote:Did you put the .mo file in your translation folder ?
Be aware English is not my first language and I could have explained bad myself using wrong or just invented words.
World Conquest II
World Conquest II
Re: Noob questions
The compiled translation file name has to match exactly the name of your textdomain.
You can safely rename the autogenerated one into something like the following:
You can safely rename the autogenerated one into something like the following:
Code: Select all
World_Conquest_tek/translations/es/LC_MESSAGES/wesnoth-World_Conquest_tek_translated.mo
Re: Noob questions
That was the my mistake, now is working, Thanks a lottrewe wrote:The compiled translation file name has to match exactly the name of your textdomain.
Be aware English is not my first language and I could have explained bad myself using wrong or just invented words.
World Conquest II
World Conquest II