- Posts: 210
- Thank you received: 3
Where to translate EB search module mini calendar
- Patrick
- Topic Author
- Offline
- Elite Member
Less
More
4 years 7 months ago #127189
by Patrick
Where to translate EB search module mini calendar was created by Patrick
Hello
I try to find translations for the mini calendar of search module.
I want to change day names:
In EB > translations there EB_MON is translated as "Mo". But it looks like the module does not pull the information from there.
I did search in Extensions > languages > Overrides but did not find "Mon", "Die" etc.
And in language folder > de-DE there is no file for EB search module.
Where can I find the translation?
Thanks.
Patrick
I try to find translations for the mini calendar of search module.
I want to change day names:
In EB > translations there EB_MON is translated as "Mo". But it looks like the module does not pull the information from there.
I did search in Extensions > languages > Overrides but did not find "Mon", "Die" etc.
And in language folder > de-DE there is no file for EB search module.
Where can I find the translation?
Thanks.
Patrick
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
4 years 7 months ago #127192
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Where to translate EB search module mini calendar
Hi Patrick
The date picker is actually generated by Joomla, so it must be translated in the language file
Maybe you can try to change it using Joomla language override docs.joomla.org/J3.x:Language_Overrides_in_Joomla ?
Regards,
Tuan
The date picker is actually generated by Joomla, so it must be translated in the language file
Maybe you can try to change it using Joomla language override docs.joomla.org/J3.x:Language_Overrides_in_Joomla ?
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Patrick
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 210
- Thank you received: 3
4 years 7 months ago - 4 years 7 months ago #127194
by Patrick
Replied by Patrick on topic Where to translate EB search module mini calendar
Hi Tuan
I already did search in Overrides but I can't find it there. Strange...
But now I found it here:
\media\system\js\fields\calendar-locales\de.js
Patrick
I already did search in Overrides but I can't find it there. Strange...
But now I found it here:
\media\system\js\fields\calendar-locales\de.js
Patrick
Last edit: 4 years 7 months ago by Patrick.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
4 years 7 months ago #127203
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Where to translate EB search module mini calendar
Honestly I don't know if this file could be override. So if you make change directly to the file, the change will be lost when you update to future releases of Joomla
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Patrick
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 210
- Thank you received: 3
4 years 7 months ago #127236
by Patrick
Replied by Patrick on topic Where to translate EB search module mini calendar
Overriding here seems not follow standard procedure, but still, it's possible:
In folder media/system/js/fields/calendar-locales/ create a copy of the desired language file and rename it. For example:
Copy and paste
en.js
rename it to
en-gb.js or en-us.js
(depending on language pack you have set up in joomla)
Then do your changes in en-gb.js.
Joomla automatically will load en-gb.js.
Patrick
In folder media/system/js/fields/calendar-locales/ create a copy of the desired language file and rename it. For example:
Copy and paste
en.js
rename it to
en-gb.js or en-us.js
(depending on language pack you have set up in joomla)
Then do your changes in en-gb.js.
Joomla automatically will load en-gb.js.
Patrick
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
4 years 7 months ago #127246
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Where to translate EB search module mini calendar
OK, great. Thanks for sharing the information
Tuan
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.