Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Kentico Template intranet site View modes: 
User avatar
Member
Member
hanaa.sayed7-gmail - 2/12/2014 7:40:32 AM
   
Kentico Template intranet site
hi every body
i create intranet site using site template , i wanna have multilingual site so i add the Arabic culture from site manager but it make a second copy of all my site , how to handle this without duplication this is First ..
, i Download Arabic resource from kentico site after a lot of search it translate the Administration form only (CMS Site ) this second ..
Third if i use Arepeater webpart how to Change Webpart container title According To User Selected Language Cause i Change it in Arabic Version but it reflect in English Version
Thanks in Advance .. hope to find help

regards ..

User avatar
Kentico Support
Kentico Support
kentico_filipl - 2/12/2014 9:19:11 AM
   
RE:Kentico Template intranet site
Hi Hanaa,

After adding a new culture for a site in Site Manager -> Sites -> <your site> -> Cultures does not automatically create a translated version of all documents. For each of them you have options to create an empty document for a new language version, copy content from another language (which is probably what you chose) and translate it using translation service.

As for the Arabic language pack, which one did you choose exactly? There are two of them available on kentico.com - Localization packs and none of them were fully translated for version 7 yet so there might be some resource strings missing.

Regarding the last question, Web part container title can be changed in a code-behind based on the user's selected language the following way:
protected void Page_Init(object sender, EventArgs e)
{
if (CMS.CMSHelper.CMSContext.CurrentDocumentCulture.CultureCode == "en-US")
{
// MyRepeater - web part control ID
this.MyRepeater.ContainerTitle = "English version";
}
else if (CMS.CMSHelper.CMSContext.CurrentDocumentCulture.CultureCode == "ar-EG")
{
this.MyRepeater.ContainerTitle = "Arabic version";
}
this.MyRepeater.ReloadData();
}

For more information, please see Developer's Guide - Setting web part properties dynamically in your code.

Best regards,
Filip Ligac

User avatar
Member
Member
hanaa.sayed7-gmail - 2/12/2014 9:35:02 AM
   
RE:Kentico Template intranet site
in Arabic Resource i Choose (Arabic - United Arab Emirates )
http://www.kentico.com/Support/Support-files/Localization-packs

Regarding the last question
As i say First My Site created Using intranet template mean i use Build in Template And i Don't Want to Make it Programmatic cause ii have no pages in my project
is There Any Way ?

User avatar
Kentico Support
Kentico Support
kentico_filipl - 2/14/2014 10:29:51 AM
   
RE:Kentico Template intranet site
Hi Hanaa,

I downloaded the same localization pack but it seems almost all resource strings were translated to Arabic language as you can see in the screenshot below. Have you followed all steps from the following Knowledge Base article - Localization pack installation and Developer's Guide - Configuring multilingual and RTL UI?

User image

As for setting Web part container title according to the selected culture, I am afraid it needs to be done programatically. Not all requirements for functionality can be done through user interface of Kentico CMS.

Best regards,
Filip Ligac