You have to consider the gettext manual when dealing with the i18n ..
Note that gettext() is a binary function, defined in C for the process. This means that you may not see the international text unless you *restart apache* after installing a .mo file.
Anyway, I'm working on the matter and I may be able to release a patch that makes things work better..

Hello all,
I have the same problem like you, but in administrator web interface. I translated messages.po to Czech. I made a directory in a2billing/lib/locale/cs_CZ/LC_MESSAGES and here I located my translated messages.po and rewrote "Content-Type: text/plain; charset=utf-8\n". Then I used command msgfmt messages.po and it created messages.mo. It looked fine. I opened languageSettings.php in a2billing/lib and change it:

Then I restarted apache: service apache2 restart. After it I logged to A2Billing and add to link ?lang=cs -nothing, ?lang=cs_CZ -nothing, ?language=czech also nothing. I could change everything without efects!!!

OK, so I rewrite original english messages.po by my translated messages.po. At first it looked good, but I didnt see specialy czech letters!!! I really dont know how do it. I rewrote messages.po to messages.htm and this new file opened in my browser. Every letters looks fine. But I need this file in A2Billing. Could me anybody help please?

You have to consider the gettext manual when dealing with the i18n ..Note that gettext() is a binary function, defined in C for the process. This means that you may not see the international text unless you *restart apache* after installing a .mo file.Anyway, I'm working on the matter and I may be able to release a patch that makes things work better..

Hi xrg

what is exactly point to change to portuguese Brazil eg?

there is misunderstand when we talk about brazil.
the correct is add BR or pt_BR

Hello all,I have the same problem like you, but in administrator web interface. I translated messages.po to Czech. I made a directory in a2billing/lib/locale/cs_CZ/LC_MESSAGES and here I located my translated messages.po and rewrote "Content-Type: text/plain; charset=utf-8\n". Then I used command msgfmt messages.po and it created messages.mo. It looked fine. I opened languageSettings.php in a2billing/lib and change it:

Then I restarted apache: service apache2 restart. After it I logged to A2Billing and add to link ?lang=cs -nothing, ?lang=cs_CZ -nothing, ?language=czech also nothing. I could change everything without efects!!!

OK, so I rewrite original english messages.po by my translated messages.po. At first it looked good, but I didnt see specialy czech letters!!! I really dont know how do it. I rewrote messages.po to messages.htm and this new file opened in my browser. Every letters looks fine. But I need this file in A2Billing. Could me anybody help please?

Thank you

hello! I did the same for es_CL but nothing happen, what can i do?
koubem1? did you solve it?

Who is online

Users browsing this forum: No registered users and 3 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum