help with translation file
Moderator: Forum Moderators
help with translation file
I maintain the campaign A Vision Blinded.
Today Dalan94 has sent me the french translation.
I added it to the 1.12 version, and loaded it up to the server.
But for some reason it wont work.
Because I have no idea about translations, please can someone download the campaign and check what is wrong?
Thanks in advance.
Today Dalan94 has sent me the french translation.
I added it to the 1.12 version, and loaded it up to the server.
But for some reason it wont work.
Because I have no idea about translations, please can someone download the campaign and check what is wrong?
Thanks in advance.
Author of Antar, Son of Rheor ( SP Campaign) | Development Thread + Feedback Thread + Replays of ASoR
- James_The_Invisible
- Posts: 538
- Joined: October 28th, 2012, 1:58 pm
- Location: Somewhere in the Northlands, fighting dark forces
- Contact:
Re: help with translation file
You have found the right place for the file but you need to compile it to .mo file. Probably the easiest way to do it, would be opening the .po file in program called Poedit (or a similar one) and clicking File - Compile to MO ...
My content: For Power series
Ports: Danse Macabre Story of the Wose
Guides: How to translate your UMC
Ports: Danse Macabre Story of the Wose
Guides: How to translate your UMC
Re: help with translation file
You have to compile the .po file to a .mo file. And it's the .mo file that you have to put in the translation folder.
If you are under Linux you can compile the file with
If you use Windows I think that the software poedit (http://poedit.net/) can do that.
EDIT : Agree with James_The_Invisible
If you are under Linux you can compile the file with
Code: Select all
msgfmt wesnoth-A_Vision_Blinded.po -o wesnoth-A_Vision_Blinded.mo
EDIT : Agree with James_The_Invisible
Re: help with translation file
That's it, it works now.
Thank you both.
Thank you both.
Author of Antar, Son of Rheor ( SP Campaign) | Development Thread + Feedback Thread + Replays of ASoR
Re: help with translation file
Just for completeness: In Windows, it is sufficient if you just save the file with PoEdit, it will automatically also generate an mo file as well. If you use Virtaal, there is an export function to generate the mo.