/
VSM3 - Adding a new language

VSM3 - Adding a new language

Adding a new language

Download and install the Resx Editor software available at http://sourceforge.net/projects/resx/files/latest/download


  • Create a new language directory under the default languages location using 2 character county code according to the ISO 639-1 standard.

    C:\inetpub\wwwroot\VSM3\App_GlobalResources
    eg.
    C:\inetpub\wwwroot\VSM3\App_GlobalResources\es
  • Copy all the *.resx files from the default App_GlobalResources folder into the new language directory.


  • Rename every file in the new language directory by adding the county code to its name.

    eg.
    AccountStrings.resx -> AccountStrings.es.resx
  • Translate all the new files separately using the the Resx Editor software and save them afterwards. It helps to select the View-Keys option under the View menu.


  • Edit the VSM3 languages configuration file:

    Default path:
    C:\inetpub\wwwroot\VSM3\App_Config\Languages.config
    Languages.config file example
    <?xml version="1.0"?>
    <languages>
      <language name="English" culture="en-US" icon="FlagUs" enabled="true" default="true" />
      <language name="Spanish" culture="es-ES" icon="FlagEs" enabled="true" default="false" />      
    </languages>



Related content