[G2] HELP : Language Files .PO and .MO are created But Not Work ...
nioton
Joined: 2006-10-31
Posts: 6 |
![]() |
Hi, I need urgent help. I have created locale/fa/LC_MESSAGES directory, and saved my 'fa.mo' file in that folder with the name of 'themes_matrix.mo' for my matrix theme. I also added the following lines to 'GalleryTranslator.class' in MODULES/CORE/CLASSES folder : /* Persian */ NOTE that the language name has been added to my Languages combo box but when I change to that language it seems that it does not work. nothing will be changed even I try to logout and again login! The direction of my Gallery has been changed but not the words !!! Should I translate other .PO file in modules\core\po directory to my language and save it in that directory also? how about exif/po directory ? where is the problem? if someone help me I will appreciate him. Regards, |
|
Tim_j
![]()
Joined: 2002-08-15
Posts: 6818 |
![]() |
Hello Jalal, the .mo file needs to be named like the module, or the theme etc. Jens |
|
nioton
Joined: 2006-10-31
Posts: 6 |
![]() |
Hi Tim_j, Thanks but I know how to name them. right now I have translated the Comment section of the Gallery to Persian. and it works well. the address is http://gallery.comet.ir/ in module directory of the Gallery installation folder there are many folders and all of them has some PO and MO files for them, I want to know If I need to translate all of them and create a corresponding folder for all of them? ( sorry for my bad english ) :p thanks. |
|
Tim_j
![]()
Joined: 2002-08-15
Posts: 6818 |
![]() |
Hello, yes, for every part you want to be translated you need to do the same procedure. I dont know if your english is bad ;) mine is too Jens |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
nioton that's excellent! can't wait to see you submit some fa.po files to the translation tracker such that we can include it in Gallery 2.2! btw: i'd start by translating the most important strings of the core module. that's what people see the most. i know it takes time, but you don't have to do it all at once. happy translating! it's appreciated! |
|