Difference between revisions of "Two Terms Not to be Translated"
From IMSMA Wiki
(2 intermediate revisions by the same user not shown) | |||
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 and have to be written in a consistent way: | + | In the file ''C:\IMSMAng\client\resources\com\fgm\imsma\lexicon\ITerms.properties'' there are two terms that should '''not''' be translated and have to be written in a consistent way: |
* DATE_PATTERN | * DATE_PATTERN | ||
* DATE_TIME_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 <br/> 1 September | + | 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 <br/> 1 September 2015 14:00.<br/> |
'''Example 1''' <br/> | '''Example 1''' <br/> | ||
DATE_PATTERN = yyyy/MM/dd <br/> | DATE_PATTERN = yyyy/MM/dd <br/> | ||
Line 19: | Line 19: | ||
</div> | </div> | ||
− | {{Warning | | + | {{Warning | Example 3 show 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/> | '''Example 3''' <br/> | ||
DATE_PATTERN = '''aaaa'''/MM/dd <br/> | DATE_PATTERN = '''aaaa'''/MM/dd <br/> | ||
Line 28: | Line 28: | ||
</div> | </div> | ||
− | {{Warning | | + | {{Warning | Example 4 shows how it looks like when these two terms are '''not''' aligned. The month and day are written in different '''order''' in the two terms.}} |
'''Example 4''' <br/> | '''Example 4''' <br/> | ||
DATE_PATTERN = yyyy/dd/'''MM''' <br/> | DATE_PATTERN = yyyy/dd/'''MM''' <br/> |
Latest revision as of 17:31, 20 September 2016
In the file C:\IMSMAng\client\resources\com\fgm\imsma\lexicon\ITerms.properties there are two terms that should not be translated and have to be written in a consistent way:
- 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 2015 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
Example 3 show 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
Example 4 shows how it looks like when these two terms are not aligned. The month and day are written in different order in the two terms. |
Example 4
DATE_PATTERN = yyyy/dd/MM
DATE_TIME_PATTERN = yyyy/MM/dd HH:mm
Is it 9th January or 1st September?