Difference between revisions of "Two Terms Not to be Translated"
From IMSMA Wiki
(Created page with "In the file C:\IMSMAng\client\resources\com\fgm\imsma\lexicon\ITerms.properties there are two terms that should not be translated: * DATE_PATTERN * DATE_TIME_PATTERN Dependin...") |
|||
Line 1: | Line 1: | ||
− | In the file C:\IMSMAng\client\resources\com\fgm\imsma\lexicon\ITerms.properties there are two terms that should not be translated: | + | In the file C:\IMSMAng\client\resources\com\fgm\imsma\lexicon\ITerms.properties there are two terms that should '''not''' be translated: |
* DATE_PATTERN | * DATE_PATTERN | ||
* DATE_TIME_PATTERN | * DATE_TIME_PATTERN | ||
Line 9: | Line 9: | ||
[[Image:Date time1.png|500px|center]] | [[Image:Date time1.png|500px|center]] | ||
<div align="center"> | <div align="center"> | ||
− | '' yyyy/MM/dd hh:mm '' | + | '' yyyy/MM/dd '''hh''':mm '' |
+ | </div> | ||
+ | '''Example 2''' <br/> | ||
+ | DATE_PATTERN = yyyy-MM-dd <br/> | ||
+ | DATE_TIME_PATTERN = yyyy-MM-dd HH:mm <br/> | ||
+ | [[Image:Date time2.png|500px|center]] | ||
+ | <div align="center"> | ||
+ | '' yyyy-MM-dd '''HH''':mm '' | ||
+ | </div> | ||
+ | |||
+ | {{Warning | This is an example of how it looks like when these two terms are translated. The year is '''not''' written with y and therefore it is not included in the date.}} | ||
+ | '''Example 3''' <br/> | ||
+ | DATE_PATTERN = '''aaaa'''/MM/dd <br/> | ||
+ | DATE_TIME_PATTERN = '''aaaa'''/MM/dd HH:mm <br/> | ||
+ | [[Image:Date time3.png|500px|center]] | ||
+ | <div align="center"> | ||
+ | '' '''aaaa'''/MM/dd HH:mm '' | ||
</div> | </div> | ||
{{NavBox Technical Notes}} | {{NavBox Technical Notes}} | ||
[[Category:NAA]] | [[Category:NAA]] |
Revision as of 22:16, 26 September 2015
In the file C:\IMSMAng\client\resources\com\fgm\imsma\lexicon\ITerms.properties there are two terms that should not be translated:
- DATE_PATTERN
- DATE_TIME_PATTERN
Depending on how you specify the date/time format the date/time will be written differently in IMSMANG. The date/time used in the example below is 1 September 14:00.
Example 1
DATE_PATTERN = yyyy/MM/dd
DATE_TIME_PATTERN = yyyy/MM/dd hh:mm
yyyy/MM/dd hh:mm
Example 2
DATE_PATTERN = yyyy-MM-dd
DATE_TIME_PATTERN = yyyy-MM-dd HH:mm
yyyy-MM-dd HH:mm
This is an example of how it looks like when these two terms are translated. The year is not written with y and therefore it is not included in the date. |
Example 3
DATE_PATTERN = aaaa/MM/dd
DATE_TIME_PATTERN = aaaa/MM/dd HH:mm
aaaa/MM/dd HH:mm