Issue with the JS Date time handling and the tranlastion
Hello UNA Team,
On the dashboard, the membership expiration is not showing correctly when I switch to another language.
Example:
Started: 14 minutes ago Expires: 16 Jun 2025
State: Trial
Here is how it changes:
'14 minutes ago' becomes '14 munutenn ʼzo'
and
'16 Jun 2025' becomes '16 Eve 2025'
I didn't know what language was that but after searching the word 'munutenn' on the internet I've found out that it was actually the Brittonic (Celtic) language. I got no idea where UNA got that translation from.
I went through the following articles and I couldn't find any answer to my problem:
https://unacms.com/wiki/Date-time-handling
https://unacms.com/wiki/Polyglot#managing-language-settings-settings-tab
Is this a PHP, a Moment.js file or a server setting error?
@Anton L Does it have something to do with is issue: 'Html language tag issue'? https://unacms.com/d/html-language-tag-issue
Please help
Thanks.
-
-
-
·
LeonidS
-
·
In reply to OneEagle
- ·
Hello @OneEagle !
Similar part depends from the non-UNA library which translates dates based on the viewer's side.
-
·
LeonidS
-
- · OneEagle
-
·
In reply to LeonidS
- ·
Dear @LeonidS
Thanks for your reply but I think there should be a fix to this bug somewhere. The problem is it appears in one of the most crucial part of the website where users check their membership expiration date. It penalizes my website as it makes it difficult to understand when the membership expires.
Please could you consider investigating this translation problem? @Anton L
Thanks.