LightSwitch – Right To Left Language Support

Can LightSwitch handle ‘right to left’ languages? As a test, I switched my computer settings to Arabic to see what happens. Fortunately, most parts of the application is localisable without too much difficulty including labels, title bars and the navigation pane.

image

Fig1 – Example Arabic Screen

To recreate the above, you will need to download a language pack. On Windows 7, this can be done through Windows update. Next, the culture must be set in the properties of the application.

image

Fig2 – Culture Settings

After changing languages, I found that the SQL Server Express service had to be restarted and the contents of the following folder had to be cleared in order for SQL Server Express to work properly.

C:\Users\tim\AppData\Local\Microsoft\Microsoft SQL Server Data\SQLEXPRESS

True multi-cultural support is still missing in LightSwitch but there is a Connect issue that you can vote for here:

https://connect.microsoft.com/VisualStudio/feedback/details/589387/lightswitch-support-mechanism-to-create-multi-language-applications

Advertisements

About dotnettim

Tim Leung is a Microsoft .Net / SQL Server developer based in England.
This entry was posted in LightSwitch. Bookmark the permalink.

4 Responses to LightSwitch – Right To Left Language Support

  1. Wael says:

    Thanks a lot. its good you have tried RTL.

  2. John Marsing says:

    I’m writing LightSwitch bible application to compliment my website and I need to be able to have one part to be in Hebrew (RTL) and the other part in English (LTR) so your solution wouldn’t work for me.

    I probably can do this though with a custom Telerik control

    Here is an example…
    http://www.myhebrewbible.com/Verses/BookChapter/1/1/Gen-1-chapter-1

    • Kevin.ncBc says:

      Hi John:
      Did you ever make progress on getting LightSwitch to display a mix of primarily English and some Hebrew on the same page? If not, what did you find to be the best solution.
      Kevin

  3. Mahdi says:

    IF anybody find the solution for right to left solution please let me know !
    still looking for how to implement App with Persian Language in lightswitch ?
    mahditaheri_2004@hotmail.com

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s