Reply New Topic
2010/1/14 2:26:15
#1
Offline
Just popping in

Arabic translation ... how to do it my self ?

Hello,
First I would like to thank all the community of ImpressCMS !

I want to use ImpressCMS but I need the Arabic translation
it seems that no one want to translate it

I added the Arabic language files of Xoops to one website based on ImpressCMS and it translate it partially !

So I want to know how translate it my self, I will use translation in my websites and also it will be available for ImpressCMS community.

If there is other people who can help me it will be nice ^_^


2010/1/14 4:01:00
#2
Offline
Webmaster

Re: Arabic translation ... how to do it my self ?

Hi AmuzayCAD,
Thanks for looking into this :thumbup:

The fact that there isn't an Arabic translation at the moment is because nobody in the core team has enough knowledge of Arabic to be able to make a translation. If you could contribute an Arabic translation, it would be really appreciated.

we're aware translations need some more work, and during the 1.3 release we want to bring all existing translations up-to-date, and where possible even add new languages.

Translate the Core
In your impressCMS folder you will find the folder "language". In that folder, you need to create a folder with the name of the language, in your case it will be "arabic".
In the <icms_root>/language folder you should have a folder with the name 'english'. When you look there, you will find many different files, all containing language constants, and the text associated with it:

Quote:

define('_CM_TITLE','Title');
define('_CM_MESSAGE','Message');
define('_CM_DOSMILEY','Enable Smiley Icons');
define('_CM_DOHTML','Enable HTML Tags');
define('_CM_DOAUTOWRAP','Enable Linebreaks');
define('_CM_DOXCODE','Enable iCMS Codes');
define('_CM_REFRESH','Refresh');



When you make a translation, you need to keep the constants unchanged (_CM_MESSAGE), but you should translate the English text to your language.

Let me know if this helps, and if you have any more questions.

Regards,
David J

_________________

Me on Ohloh


2010/1/14 7:12:55
#3
Offline
Just popping in

Re: Arabic translation ... how to do it my self ?

Thanks fiammybe for your reply and your explanation !

If this is the task that I have to do, so it's easy for me to do it

It will be a gift from me to ImpressCMS community and a manner to thank and promote this young and pretty CMS.

I will begin the work this day ^_^

I think that I have to translate from the language packs not from the folder " languages " because it's not the complete pack !
I am right or not ?


2010/1/14 11:23:47
#4
Offline
Home away from home

Re: Arabic translation ... how to do it my self ?

Since the german language set is complete you can always have a look at this set.

I would copy the english files to your translation destination and start translating them. You can do this step by step of course.

Since the modules content and profile are part of the core it would be appreciated if you could also provide translations for those two modules.

_________________
the german icms website : www.impresscms.de

2010/1/15 10:41:53
#5
Offline
Just popping in

Re: Arabic translation ... how to do it my self ?

Thanks very much Phoenyx

Now I have an English package based on comparing the German one :thumbup:

But the problem still for some images
like the folder " /images/search "

How to create folders for Arabic images that will be chosen automatically when a user choose Arabic language ?

Concerning some folders there is already the solution like the folder " /images/icons " I will put the Arabic images in the folder " /images/icons/arabic "
but what about the other folders and images ?
like " /images/image.gif " !!!

Thanks for your help !


2010/1/15 11:13:06
#6
Offline
Home away from home

Re: Arabic translation ... how to do it my self ?

Multilanguage wouldn't be possible for those images then.
In case you only need one language on your site you can simply overwrite them. It's the same with the German language pack.

_________________
the german icms website : www.impresscms.de

2010/1/15 11:26:21
#7
Offline
Just popping in

Re: Arabic translation ... how to do it my self ?

Ah ok !
I think that ImpressCMS Developers team have to work on the multilanguage images issue, I know that it's inherited from Xoops...

Personally I want to create multilingual websites.

I already finished the translation of the folder " images " (flag + icons)


2010/1/15 12:11:41
#8
Offline
Home away from home

Re: Arabic translation ... how to do it my self ?

Quote:

But the problem still for some images
like the folder " /images/search "


Maybe we can override the images in /images/search/* by using the rtl.css since you need it for the arabic language anyway.

The europeans say : I need style.css
The arabic language says : I need style_rtl.css
and so... we can override the images and point to the right direction?

Stranger, can you help with this one? Stranger is our user who started to set up the RTL languages.*/


2010/1/15 13:43:14
#9
Offline
Home away from home

Re: Arabic translation ... how to do it my self ?

This won't fully solve the issue since German and English don't differ in this regard.
Providing both of those languages still leads into an issue

_________________
the german icms website : www.impresscms.de

2010/1/16 18:22:55
#10
Offline
Just popping in

Re: Arabic translation ... how to do it my self ?

@ UnderDog
Thanks very much for your comment, but it's a solution for just 2 simultaneous languages (exp. Arabic + English).
But me I talk about an ultimate solution for ImpressCMS in general

@ Phoenyx
Yes you are right !

Hope that the developers of ImpressCMS think about remaking or rebuilding the core regardless the compatibility with Xoops.
I think it's the moment to forget about Xoops architecture
A good example it's Joomla & Mambo, the core of Joomla is now no more compatible with the Mambo one...

Concerning my translation work, I am now on the first folder " editors " it needs lot of work !!!


Reply New Topic extras
 Previous Topic   Next Topic
You can view topic.
You can start a new topic.
You can reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You can post without approval.