Hello, I want to do a new language translation for FOF, the menus and all this things.
I want to know if it can be possible and how can I do it.
thanks ^^
seeya!
(excuse me for my english ^^')
Help for a "language translation"
Forum rules
- Before posting in this section please make sure your question has not already been answered:
- Read the FAQs and stickied topics. In particular: /******READ THIS POST BEFORE POSTING IN THIS SECTION!******\
- Visit the Wiki: http://fretsonfire.wikidot.com/
- Please try to search the forums before posting
- Questions about FoFiX?
- For general help, visit the project's Wiki: http://code.google.com/p/fofix/w/list
- Problem running FoFiX from git? Ask ALL your questions in the FoFiX forum
This topic is 16 years and 1 day old. Instead of replying, please begin a new topic, or search for another related topic that may be more suitable.
not a robot
- raph666
- Administrator
- Posts: 2426
- Joined: March 9th, 2007
- Location: dans la mer du nord
- Reputation: 20
- Contact:
Yes it's possible.
You need some tools to do it, personnaly I use poedit. the translation files are the .mo files you'll find in the translations folder (in the data folder). I suggest you convert an already existing .mo to .po and then edit it in poedit. After that, save them back to .mo
I'd be curious to know to what language you want to translate the game!
You need some tools to do it, personnaly I use poedit. the translation files are the .mo files you'll find in the translations folder (in the data folder). I suggest you convert an already existing .mo to .po and then edit it in poedit. After that, save them back to .mo
I'd be curious to know to what language you want to translate the game!
Last edited by raph666 on Wed Aug 01, 2007 6:29 pm, edited 1 time in total.
wooo!! thank you raph666!!
I want to translate the game in Catalan ^^
thanks a lotttt!!!!
EDIT:
sorry but... how can I convert MO to PO??
thanks
I want to translate the game in Catalan ^^
thanks a lotttt!!!!
EDIT:
sorry but... how can I convert MO to PO??
thanks
Last edited by Siki on Thu Aug 02, 2007 6:19 am, edited 1 time in total.
not a robot
- raph666
- Administrator
- Posts: 2426
- Joined: March 9th, 2007
- Location: dans la mer du nord
- Reputation: 20
- Contact:
okay, if you downloaded poedit, it comes with some scripts to do this job (they are in the bin folder...something like this: C:\Program Files\poEdit\bin )
the one you want to use is ' msgunfmt ' (poedit will save to .mo automatically when you save the catalog)
And now I guess you'll want to know how to use msgunfmt...So!
in a cmd prompt, it should look a bit like this
you could just copy the .mo file to the bin folder...it makes a much smaller path
it's useful to learn but if you want to skip the converting operation, you can download this french.po file
http://www.phonotheque.ca/fof/frenchPO.rar
the one you want to use is ' msgunfmt ' (poedit will save to .mo automatically when you save the catalog)
And now I guess you'll want to know how to use msgunfmt...So!
in a cmd prompt, it should look a bit like this
you could just copy the .mo file to the bin folder...it makes a much smaller path
it's useful to learn but if you want to skip the converting operation, you can download this french.po file
http://www.phonotheque.ca/fof/frenchPO.rar
Hi!
I've made a Dutch translation (txx for the help, this topic helped alot).
I have a question:
I noticed that after I translated all possible lines, there are still some lines in game in English....
Is there a way to translate those lines?
(for example: "End Song")
Thanks in advance...
(My 1st post here...)
I've made a Dutch translation (txx for the help, this topic helped alot).
I have a question:
I noticed that after I translated all possible lines, there are still some lines in game in English....
Is there a way to translate those lines?
(for example: "End Song")
Thanks in advance...
(My 1st post here...)
keep rockin'
Some of the text in game is not translated (though most should be)
But "End Song" is going through the translation engine.
in guitarscene.py
the _() function is the translation function. So it should be translatable.
-Alex
But "End Song" is going through the translation engine.
in guitarscene.py
Code: Select all
self.menu = Menu(self.engine, [
(_("Resume Song"), self.resumeSong),
(_("Restart Song"), self.restartSong),
(_("Change Song"), self.changeSong),
(_("End Song"), self.endSong),
(_("Settings"), settingsMenu),
(_("Quit to Main Menu"), self.quit),
], fadeScreen = True, onClose = self.resumeGame)
the _() function is the translation function. So it should be translatable.
-Alex
Awesome Drum Charter
- anthman852
- Member
- Posts: 2144
- Joined: February 24th, 2008
- Location: Ann Arbor, Michigan
- Reputation: 1
Awesome Drum Charter
- anthman852
- Member
- Posts: 2144
- Joined: February 24th, 2008
- Location: Ann Arbor, Michigan
- Reputation: 1
Who is online
Users browsing this forum: No registered users and 34 guests