This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Translating to different languages?
#1
Hi! I'd like to help the development of rpcs3, but i don't know much about coding(just some basic C++, Java and VB), and i've noticed that there are different languages to choose, and my language(Polish) is not translated yet. So i was thinking if i could help translating it. I started looking in the source code for files related to translating, but i couldn't find anything. So, my question is: is there anything i could translate? If yes, what are the files? Thanks in advance Smile
Reply
#2
Probably not. 1) A lot of stuff changes frequently and not stable, so that would mean invalidating translation a lot. 2) AFAIK GUI stuff and other translatable strings are not marked properly so you couldn't easily start translating even if you wanted.
Reply
#3
Also another reason to not translate currently is, that we are most likely going to switch GUI backends in the near future (from wxWidgets to Qt, but not set in stone, yet).
Reply
#4
AFAIK this setting wasn't meant to change GUI language. It's "game" setting which may allow the game to apply different language or regional settings.
Reply
#5
Ok, thanks for the help Smile
Reply
#6
If you want to translate strings you may need to mark them sometime as translatable.
This mean that every in-line string (ie one between " I source code) need to be wrapped with _(...) macro.
For instance " draw count %d" in source code need to be transformed into _("draw count %d")
It's already done in some place but some strings in gui weren't properly marked last time I looked. And I think no error message are marked.

Then you need to run some gnu tool that will generate translation file that you can fill to get translated strings. You can open a project on Rosetta too if you want to make collaborative translation.
Reply
#7
(09-01-2015, 05:57 PM)vlj Wrote: If you want to translate strings you may need to mark them sometime as translatable.
This mean that every in-line string (ie one between " I source code) need to be wrapped with _(...) macro.
For instance " draw count %d" in source code need to be transformed into _("draw count %d")
It's already done in some place but some strings in gui weren't properly marked last time I looked. And I think no error message are marked.

Then you need to run some gnu tool that will generate translation file that you can fill to get translated strings. You can open a project on Rosetta too if you want to make collaborative translation.
Well, one problem is - it's only applicable for GUI. Since the rest of rpcs3 is tried to keep as much separated from wx/other frameworks as possible.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)