Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Translating the site to Arabic-Localization View modes: 
User avatar
Member
Member
lobnasalih-hotmail - 6/18/2009 6:18:35 AM
   
Translating the site to Arabic-Localization
Hello,

I want to translate whole the website to Arabic, I mean the public site that visitors will see.
Here are some of my questions:

1. Translating Media Libraries:
I added new libraries and tried to rename them as Arabic. But when I tried to add new documents or photos to those libraries, they do not show the photos. and the url of the photo can not read Arabic

2. Translating:
I added a new UI culture to cultures and created a "CMS.ar-iq.resx" file. But I did not find some of my required words in order to translate them.
I began from logon page. I could translate whole the "logonform" webpart. I searched for the English phrase in the CMS.ar-iq.resx and translated it to Arabic. Then I tried to do the same steps for the "CustomRegistrationForm" webpart, but I couldn't find the English phrases in the CMS.ar-iq.resx and therefore I couldn't translate them to Arabic. (attachment logon.jpg)
I also tried to add the following value to CMS.ar-iq.resx, but it doesn't work.
<data name="CustomRegistrationForm.FirstName" xml:space="preserve">
<value>اسم الاول:</value>
</data>
I also tried to add a new string in "UI Cultures", but don't know what should I put for the KEY field.
Can you please guide me how I can find the key.

Thanks and looking forward to hearing from you soon,

Lobna


User avatar
Kentico Developer
Kentico Developer
kentico_martind - 6/24/2009 8:52:01 AM
   
RE:Translating the site to Arabic-Localization
Hi Lobna,

Please find answers bellow:

1) If the folder is created in CMSDesk -> Tools -> Media libraries and it is renamed manually in file system then database record of this folder does not match the renamed folder and that is the reason why files could not be uploaded in it. I would recommend preparing folders and files in file system and then importing the files in CMS.

2) Some fields caption can be placed directly in alternative form's (named 'registration form') layout.

Regarding new strings, you can write your own key - then you can use the key in CMS.GlobalHelper.ResHelper.GetString function or Localization macro to resolve it


Best Regards,

Martin Dobsicek