Strange Creation-Date-Style in Chinese List Display

Many lists with date have the same problem for Chinese, however for English is fine.

I am using Windows 10 and MySQL, PHP
Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.3.11
MariaDB 5.5.5-10.4.8-MariaDB
mysqli (mysqlnd 5.0.12-dev - 20150407)

Please help me~ Thank you~

1 Like

I found the problem is in zh_TW/main.lang ~
The value of FormatDateShort is %m/%d/%Y .

However there are many similar field
FormatDateShortInput=%m/%d/%Y
FormatDateShortJava=MM/dd/yyyy
FormatDateShortJavaInput=MM/dd/yyyy
FormatDateShortJQuery=mm/dd/yy
FormatDateShortJQueryInput=mm/dd/yy

Should I change all of them to %Y/%d/%m ?

Ha!!
Finally~ I found the answer!!
It is in zh_TW/main.lang
but the % is wrong…

The % in main.lang is % !!
But a % is not a %, and there are the same issues in ja_JP/compta.lang.

Anyone can fix it to github ?

Hi thecyyoung,

Well done ! These typo differences are not easy to catch. Could you contribute to have it corrected on transifex ? Please have a look how translations are handled in Dolibarr (English is the main language, translations are grabbed from the transifex platform before each new release).
https://wiki.dolibarr.org/index.php/Translator_documentation

Regards,
Marc

Thank you~
I will try it ~ but might need several days…
I need an invitation of Transifex ~

Hi~
When I want to correct the translation from % to %, it says

A similar suggestion for this source string already exists.

I think no one has fixed this. Just the system issue.
Can you help me?
Thank you very much~

I am really sorry, I am not familiar with transifex at all. Translation to French is already complete…

Regarding your trouble, it is not clear indeed whether the system recognizes the difference of ‘%’. I did not know we can have two different ones…

I think best is that you drop a message to one of the project coordinator eldy or novalore (https://www.transifex.com/dolibarr-association/teams/32145/zh_CN/). They should have the relevant answers !

Regards,
Marc

Thank you very much.

I am trying to ask any one to help me to fix the issue.