- Posts: 13
- Thank you received: 3
Wrong language for month in Upcoming events module (improved layout)
- Kiko
- Topic Author
- Offline
- New Member
Less
More
5 years 4 months ago #119830
by Kiko
Wrong language for month in Upcoming events module (improved layout) was created by Kiko
Hi,
I have a multilingual site with an upcoming events module. It allways shows the trhee letters of the month in english despite the frontend language or the module language. For example, it shows in the "calendar box" DEC (for december) instead of DIC (diciembre, spanish).
It seems that this is not a server issue since upcoming events component shows the correct language (i.e. DIC in the "calender circle".
I have a multilingual site with an upcoming events module. It allways shows the trhee letters of the month in english despite the frontend language or the module language. For example, it shows in the "calendar box" DEC (for december) instead of DIC (diciembre, spanish).
It seems that this is not a server issue since upcoming events component shows the correct language (i.e. DIC in the "calender circle".
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
5 years 4 months ago #119833
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Wrong language for month in Upcoming events module (improved layout)
Hi
That text is actually rendered by PHP core date function php.net/manual/en/function.date.php , so look like language is not handled properly (by php or Joomla core API) for some reasons
In this case, please submit a support ticket sending us super admin account of your site and link to the page which we can see this error
We will check to see what's wrong and get it sorted
Tuan
That text is actually rendered by PHP core date function php.net/manual/en/function.date.php , so look like language is not handled properly (by php or Joomla core API) for some reasons
In this case, please submit a support ticket sending us super admin account of your site and link to the page which we can see this error
We will check to see what's wrong and get it sorted
Tuan
Please Log in or Create an account to join the conversation.
- Kiko
- Topic Author
- Offline
- New Member
Less
More
- Posts: 13
- Thank you received: 3
5 years 4 months ago #119867
by Kiko
Replied by Kiko on topic Wrong language for month in Upcoming events module (improved layout)
Solved by Tuan. Thanks!
For others with the same problem: you have to edit your file language/xx-XX/xx-XX.com_eventbooking.ini (xx-XX is your language code) and translate:
EB_JAN_SHORT="JAN"
EB_FEB_SHORT="FEB"
EB_MARCH_SHORT="MAR"
EB_APR_SHORT="APR"
EB_MAY_SHORT="MAY"
EB_JUNE_SHORT="JUN"
EB_JULY_SHORT="JUl"
EB_AUG_SHORT="AUG"
EB_SEP_SHORT="SEP"
EB_OCT_SHORT="OCT"
EB_NOV_SHORT="NOV"
EB_DEC_SHORT="DEC"
For others with the same problem: you have to edit your file language/xx-XX/xx-XX.com_eventbooking.ini (xx-XX is your language code) and translate:
EB_JAN_SHORT="JAN"
EB_FEB_SHORT="FEB"
EB_MARCH_SHORT="MAR"
EB_APR_SHORT="APR"
EB_MAY_SHORT="MAY"
EB_JUNE_SHORT="JUN"
EB_JULY_SHORT="JUl"
EB_AUG_SHORT="AUG"
EB_SEP_SHORT="SEP"
EB_OCT_SHORT="OCT"
EB_NOV_SHORT="NOV"
EB_DEC_SHORT="DEC"
The following user(s) said Thank You: Tuan Pham Ngoc
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
5 years 4 months ago #119880
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Wrong language for month in Upcoming events module (improved layout)
Yes, that's correct. In this case, it does not work as expected because there were some language items were not translated
Many thanks Ignacio for sharing the reason back to forum
Tuan
Many thanks Ignacio for sharing the reason back to forum
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.