webERP Forum
translate weberp into arabic - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (/forumdisplay.php?fid=1)
+--- Forum: How To ? (/forumdisplay.php?fid=6)
+--- Thread: translate weberp into arabic (/showthread.php?tid=819)

Pages: 1 2


translate weberp into arabic - aziz3010 - 03-18-2013 08:27 AM

how to translate weberp into arabic language , as you know that language is from right to left


RE: translate weberp into arabic - phil - 03-18-2013 11:53 AM

http://www.weberp.org/wiki/HowToTranslate

There is a theme - professional-rtl that puts the writing from right to left - I am not sure how well this works.


RE: translate weberp into arabic - aziz3010 - 03-19-2013 12:12 AM

thanks phil for your quick reply but I do not know how to use POEDIT and other routine for Translation and that webPage http://www.weberp.org/wiki/HowToTranslate


RE: translate weberp into arabic - phil - 03-19-2013 09:01 AM

You don't need to use POEdit - but it is really easy if you do ... get the program poedit from

http://www.poedit.net/download.php

The take the messages.pot file in the webERP distribution at

webERP/locale/en_GB.utf8/LC_MESSAGES/messages.pot

and make a new directory:

webERP/locale/ar_AE.utf8/LC_MESSAGES

or maybe one of:
Quote:Arabic (Algeria) : ar_DZ
Arabic (Bahrain) : ar_BH
Arabic (Egypt) : ar_EG
Arabic (Iraq) : ar_IQ
Arabic (Jordan) : ar_JO
Arabic (Kuwait) : ar_KW
Arabic (Lebanon) : ar_LB
Arabic (Libya) : ar_LY
Arabic (Morocco) : ar_MA
Arabic (Oman) : ar_OM
Arabic (Qatar) : ar_QA
Arabic (Saudi Arabia) : ar_SA
Arabic (Sudan) : ar_SD
Arabic (Syria) : ar_SY
Arabic (Tunisia) : ar_TN
Arabic (United Arab Emirates) : ar_AE
Arabic (Yemen) : ar_YE

and save your translation file under this directory as messages.po

poedit is very easy to use - is shows you the message and you have to enter the translation.

If you prefer not to use poedit you can simply load up

webERP/locale/en_GB.utf8/LC_MESSAGES/messages.po in your text editor and add the msgstr translations below the msgid strings (the english string


RE: translate weberp into arabic - aziz3010 - 03-20-2013 05:06 AM

thanks for your interesting , i found a file in the location as you mentioned , and the weberp accept Arabic language RTL but the User interface with English language and I wish that user interface with Arabic whole deal with the program " weberp " with Arabic How to ??
Sorry For My English


RE: translate weberp into arabic - phil - 03-20-2013 05:43 AM

There is a Persian translation - quite incomplete and an Egyptian Arabic translation - that is very incomplete.
You just click on the username at the top left of any window and change the language to your chosen one from the selection of languages available.


RE: translate weberp into arabic - aziz3010 - 03-21-2013 05:47 AM

Many many thanks for your all replay and interesting i try
I translate a few words in " C:\xampp\htdocs\webERP\locale\ar_EG.utf8" with Geany program and I will continue


RE: translate weberp into arabic - phil - 03-21-2013 07:08 AM

When you have translated a few words - you need to run the messages.po file you edited through another program "msgfmt.exe" to create the messages.mo file - if you send the file to me I will create the .mo file for you - or you can download the gettext utilities (containing the msgfmt.exe program) at :

http://gnuwin32.sourceforge.net/downlinks/gettext.php

assuming you are using windows os.
At a command prompt
Code:
$C:\
$cd  .....\webERP\locales\ar_EG.utf8\LC_MESSAGES\
$msgfmt messages.po

you should then see a new messages.mo containing the machine searchable archive of the translations you've entered.


RE: translate weberp into arabic - aziz3010 - 03-23-2013 02:36 AM

When I finish translating the file will be sent to the Community for the benefit of everyone
thanks Phil


RE: translate weberp into arabic - phil - 03-23-2013 05:46 AM

Thank you