User Tools

Site Tools


localization

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
localization [2020/05/12 20:13] – created wikiadminlocalization [2022/07/08 13:57] (current) wikiadmin
Line 3: Line 3:
 By default the code generator for the web view (HMI) is built for a US (English) locale. In this locale, number decimal separator is a "." and thousands separator is a ",". However, you may want your HMI to be viewed in a country in which the normal decimal separator is a "," and the thousands separator is not the same as that used in the United States. So you can set the "locale" for which your HMI before you build your deployment. By default the code generator for the web view (HMI) is built for a US (English) locale. In this locale, number decimal separator is a "." and thousands separator is a ",". However, you may want your HMI to be viewed in a country in which the normal decimal separator is a "," and the thousands separator is not the same as that used in the United States. So you can set the "locale" for which your HMI before you build your deployment.
  
-'''note:''' these localizations will not be apparent unless the system running the web browser is set to the designated language.+** 
 +//Note://**these localizations will not be apparent unless the system running the web browser is set to the designated language.
  
 There are two files in your project (once you save your project in MIStudio) which need to be edited for your locale. These are copied into the lib/templates directory of your project.  There are two files in your project (once you save your project in MIStudio) which need to be edited for your locale. These are copied into the lib/templates directory of your project. 
Line 11: Line 12:
 The first file is the GWTTemplate.html. Open this file in a pure text editor such as Notepad++ or WordPad on Windows, or Pluma or Jedit on Linux. The first file is the GWTTemplate.html. Open this file in a pure text editor such as Notepad++ or WordPad on Windows, or Pluma or Jedit on Linux.
  
-One (or about) line 6 you will see:+On (or about) line 6 you will see:
     <meta name='gwt:property' content='locale=en_UK'>     <meta name='gwt:property' content='locale=en_UK'>
  
localization.1589328786.txt.gz · Last modified: by wikiadmin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki