Forum Themes:
Welcome !

 Language Files for V3

Author Message
Samuel

  • Total Posts : 11786
  • Reward points : 168350
  • Joined: May 23 '01
  • Status: offline
Language Files for V3 Fri. Dec 11, '09 2:11 PM (permalink)
The following is the interface language files for V3 as well as their compatible version:
  • French V3.9 (thanks to Thomas Tran for correcting orthographical errors)
  • Portuguese-Brazil V3.9
  • Vietnamese V3.8
  • Danish V3.9 (a bit incomplete)
Download the language files here.

Setting up multiple Languages for users

The international language system utilizes the Global Resources feature of ASP.NET and because of this all language files (.resx) are placed in the App_GlobalResources folder. You will need to use Visual Studio to edit these files (easiest, but all text editor will do, as long as the edited files can be saved with UTF-8 encoding).

By default, there are 4 .resx files in the folder, and the only files that are of interest to you are:
  • ln.resx: the default English language file;
  • LanSetting.resx: the language setting file. There is only one string, LanguageSetting, in the file, and by default it defines the English language only.
To add more languages, for example, French (fr), you will need to
  1. Create an additional language file, ln.fr.resx, by copying the structure of the ln.resx file and translate each string to your language, or download the attached language files below. Make sure this new file is placed under the ~/App_GlobalResources folder;
  2. Update LanSetting.resx by changing the Value for the String LanguageSetting:

    Default: en:English;
    Update it to: en:English;fr:French; 
Once the files are uploaded to your server, You will see both languages appear in the Forum Languages drop down menu under user's forum Profile -> Additional Options section.

Repeat this process for other languages you wish to use.

Setting the Default Language for users

You can change the default language to French by changing the following key under appSettings in ~/web.config:

Default: <add key="DefaultLang" value="en" />
Update it to <add key="DefaultLang" value="fr" />

And your users will see French being the default language for the UI for your forum.
_
<message edited by Samuel on Tue. Jun 21, '11 10:16 AM>
Attachment(s)ln_vi_380.zip (20.31 KB) - downloaded 809 times
ln_fr_390.zip (23.19 KB) - downloaded 261 times
ln_pt-br_390.zip (22.13 KB) - downloaded 170 times
ln_da_390.zip (21.01 KB) - downloaded 413 times
ASPPlayground.NET
~ see our Version 4 plans here

 
#1
    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 1 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2012 ASPPlayground.NET Forum Version 3.9