More in this section

Forums / Developing with Sitefinity / Arabic Language support.....

Arabic Language support.....

3 posts, 0 answered
  1. Adeel Arif
    Adeel Arif avatar
    27 posts
    30 Dec 2009
    04 Jan 2010
    Link to this post
    Hi All,
     I am a bit new to sitefinity  , I was wondering that if any body can tell me, does sitefinity support Arabic language? as its direction is from right ti left. All suggestions would be appreciated.

    thankyou all.
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    01 Feb 2016
    04 Jan 2010
    Link to this post
    Hello Adeel Arif,

    Thank you for contacting Telerik Support.

    Sitefinity does support any language through localization. You can localize your website in Arabian.

    Let me try to give you a step by step guide on how to enable localization on your website and use multilingual content in modules and controls. Before I start I would like to recommend that the steps I am providing you with are all described in our User Manual.

    1) When starting to use multilingual content you will have first of all enable localization for your web site. To do this you will have to find the <localization> tag in your web.config and choose enter the persistence mode for localization. The example bellow will enable localization for pages with English and Arabic, with default language English (for further detail see Multilingual Content Management  in the User Manual, starting from page 242):
    <localization defaultProvider="Sitefinity" persistenceMode="PathPrefix" defaultCulture="en" cultures="en, ar">  

    2) After enabling localization, you can enable localization for different modules (like Generic Content, News, Blogs) so that you can manage content created in those modules to have different language versions. Here is an example how to do it for News Module. Find the following in your web.config:
    <add name="News" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Title" securityProviderName="" allowVersioning="True" applicationName="/News" versioningProviderName="" commentsModeration="true" connectionStringName="GenericContentConnection" type="Telerik.News.Data.DefaultNewsProvider, Telerik.News.Data"/>  

    And add the following into the tag:

    This will enable localization for your News Module. For more information on enabling localization for different Sitefinity modules you can look at Working with Modules in the User Manual . If for an example you want your news items tittles to have different language versions you have to enable localization for news title. To do this find the <metaFields> tag and enable localization for news tittles like this:

            <add key="News.Title" localizable="true" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>  

    3) After you have done the above you will have enabled localization for your project it is time that you localize the resources for your site. Please look at the following KB article to see how you can localize your Blogs public controls.

    For example in order to localize your News View public control you will have to do the following:

    3.1) Go to ~/Sitefinity/ControlTemplates/News/App_LocalResources directory in your project
    3.2) Create copies of the ListPageDetails.ascx.resx and ListPageMaster.ascx.resx and name them like this and in (in this way when Arabic is selected for your site the NewsView control will use those files).
    3.3) Edit (translate) the strings for different labels in and
    3.4) If you are using Sitefinity version 3.6 SP2 you will have to map the templates for the controls whose resource files you are editing. For more information on mapping controls to a template read here. You will also need to download the file for your version of Sitefinity, if you have not done so already.

    You can also create localized master pages as described in one of the threads that you have posted too.

    My recommendation to you is if you want easily to achieve switching text direction from right to left and left to right is to create two separate themes for your site. For example create two theme folders in the App_Themes directory of your project. One of the themes will be used by your english pages. When you create an English page you will select the page to use that theme. In the second theme you will style your CSS so that the text direction is right to left, and you will set your Arabic pages to use this theme.

    Please, also note that multilingual content is not supported by Sitefinity Community Edition.

    I hope that this information will help you set up multilinguality for your web site. If you have further questions, please feel free to contact us.

    Radoslav Georgiev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Ahmed Salman
    Ahmed Salman avatar
    31 posts
    13 Apr 2010
    17 Jun 2010
    Link to this post
    can i have example because i try to create theme for arabic by add ing the direction and it was not working.

Register for webinar
3 posts, 0 answered