logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Localization (Adding a language)
faqadmin
#1 Posted : Saturday, June 04, 2011 5:55:11 PM(UTC)
Rank: Member

Groups: Member
Joined: 9/9/2007(UTC)
Posts: 27
Points: 81

[this question was raised outside the forum]

I see all the infrastructure for localization but I haven't managed to add a language (Greek for example). Can you help with this?

_______________________

NConstruct Support Team
support@nconstruct.com
http://www.nconstruct.com
_______________________
faqadmin
#2 Posted : Saturday, June 04, 2011 6:29:44 PM(UTC)
Rank: Member

Groups: Member
Joined: 9/9/2007(UTC)
Posts: 27
Points: 81

Assuming you created a sample application for Northwind sample database and you want to add a Greek language translation:

1. Run your generated client application and open User settings form:

User settings dialog

Modify DefaultLanguage setting to "el" (see http://www.csharp-examples.net/culture-names/).

2.
a.) Create LocalizationGenerated.el.resx and Localization.el.resx in your generated application folder \Src\Northwind\Northwind.Client.StartApplication\LocalResources.

Copy the content of generated LocalizationGenerated.resx and Localization.resx to your appropriate files (LocalizationGenerated.el.resx, Localization.el.resx) and translate the content.

b.) For the Basic NConstruct version you should also download the following NConstruct.Client localization resource file from the following URL:

http://www.nconstruct.com/Productfiles/NConstructLocalization/Localization.resx

and copy the content into your above created Localization.el.res and translate it.

c.) If you had the Proffesional NConstruct version instead of the last mentioned step you should create Localization.el.resx in Src\Northwind\NConstruct.Client\Common\LocalResources folder and copy the content of existing Localization.resx file into just created Localization.el.resx and translate it.

3. To translate your login dialog window, you need to add the following setting to [Your application name].Client.StartApplication App.config file:

Quote:
<add key="DefaultLoginLanguage" value="el" />


Regards,
Sebastijan Pistotnik


_______________________

NConstruct Support Team
support@nconstruct.com
http://www.nconstruct.com
_______________________
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.080 seconds.