khaosmind
May 4th, 2008, 04:02
hi. since you have helped me and are working hard on this emulator i would like to make my tiny contribution. i want to fully translate mupen64plus.
the .lang file is completely translated into spanish but some things like "misc. GUI setting" are not.(and the cheats menu and the plugins)
the problem is that i dont know from where i must make the translation. Usually i just grab the english file, copy the variables and make the changes. But the file is empty!
so, could you point me into the right direction? which file i must modify?
Tillmann
May 4th, 2008, 06:20
would be nice to implement .po files :D
ebenblues
May 4th, 2008, 06:56
would be nice to implement .po files :D
Agreed. I have an issue open to convert the current .lang files to .po files:
http://code.google.com/p/mupen64plus/issues/detail?id=45
ebenblues
May 4th, 2008, 06:58
hi. since you have helped me and are working hard on this emulator i would like to make my tiny contribution. i want to fully translate mupen64plus.
Thank you, this would be a great contribution. The current translation system is kind of a homebrew solution. I'll work on getting you a file of all current text that needs translating. We've added a lot of new text so translations would be much appreciated.
khaosmind
May 4th, 2008, 17:43
Thank you, this would be a great contribution. The current translation system is kind of a homebrew solution. I'll work on getting you a file of all current text that needs translating. We've added a lot of new text so translations would be much appreciated.
i will wait until you are ready. Thanks
Some of the old translation stuff could probably be used. Should we try looking at other emulators translations too?
Tillin9
May 5th, 2008, 01:36
GNU Gettext (i.e. the .po files) is the fairly standard way to do translations, at least in the *NIX camp. Both KDE, Gnome, and a wide variety of non-Gtk / KDE3 programs use these methods for translation.
However as the GUI has yet to stabilize, I'd wait for translation until the cheat, debugger, and possibly extended ROMbrowser GUIs are more finalized. Sadly a good portion of the GUI is not written properly for translation in the first place. I've tried to correct the instances I found, but I haven't done a comprehensive search.
Tillmann
May 5th, 2008, 02:22
gettext standard it's a pretty easy solution :D
I would gladly help with the language files :D
ebenblues
May 5th, 2008, 07:44
However as the GUI has yet to stabilize, I'd wait for translation until the cheat, debugger, and possibly extended ROMbrowser GUIs are more finalized. Sadly a good portion of the GUI is not written properly for translation in the first place. I've tried to correct the instances I found, but I haven't done a comprehensive search.
If you use gettext, you don't have to wait for every string to be properly written for translation. You can run xgettext at any time on the source to update the .po files and extract new strings that need to be translated. We could make this a scripted thing possibly. I'm going to create a branch to work on this.
Tillin9
May 5th, 2008, 08:00
I'm fairly sure all the strings need to be setup to be translated, in the sense that they need wrapping in a tr() or i18n(). Right now some strings are hardcoded in English, or at least I found some that were.
Yes, as the GUI develops, it is possible to script translation and double check as we go and if there is enough interest and people to help, that's fine.
ebenblues
May 7th, 2008, 01:46
I'm still working on converting mupen64plus to use gettext, but for now, I uploaded the Spanish .po file to the downloads section on the google code site so you can get started translating:
http://mupen64plus.googlecode.com/files/es.po
I populated the file with all the current translations, so you can use those as examples to fill in the messages that don't have translations. Thanks for your contribution!
khaosmind
May 7th, 2008, 03:39
I uploaded the Spanish .po file to the downloads section on the google code site so you can get started translating
i will work on the translation thanks.
khaosmind
May 16th, 2008, 19:31
i finished the spanish translation here you got it
http://www.gigasize.com/get.php?d=pwcstk0dlxc
what about the plugins translations? i mean, rice video plugin is translated in project64. Could I translate the plugins?
DarkJezter
May 16th, 2008, 21:44
I believe that we're still deciding what to do with the plugins. I know there has been some talk about writing kde4 guis for them, and they may be re-written to support gettext as well.
Not sure if this is what's going to happen, or when it will happen. We may even come up with a different way for changing the plugin settings
ebenblues
May 17th, 2008, 00:54
I believe that we're still deciding what to do with the plugins. I know there has been some talk about writing kde4 guis for them, and they may be re-written to support gettext as well.
Thanks so much for the translations khaosmind. I don't think how we plan to structure the gui code for the plugins should stop us from translating the strings. I'll see what I can do about getting a .po file together that includes strings from the plugins as well. Thanks again for your work!
vBulletin v3.6.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.