Support Offline: Mon - Fri / 08:00am - 05:00pm (GMT +7)
Your Time: Our Time:

lock Translate JUX Weather Basic

More
8 years 9 months ago #5600 by Axel
Hello,

I cannot find a way to translate the days (Wednesday etc.) of the forecast. Is there a way to do translate it?

Can I change the time format? -> Only show the day (Mercredi etc.) in another language....

In which File can i customize the code?

-> 18 Jun 2015
Rain
High: 18 Low: 9

Kind regards Axel
The topic has been locked.
More
8 years 9 months ago #5685 by Huyen Tran
Dear Alex.
Thanks you for using product our.
I'm sorry for reply late because we just have a long holiday.
You can translate the day the below:
Go to module/mod_jux_basic_weather/assets/js/cript.js
line 104, please add line code:
if(wfi.day == "Mon"){
wfi.day = "Thu2"
}
if(wfi.day == "Tue"){
wfi.day = "Thu3"
}
if(wfi.day == "Wed"){
wfi.day = "Thu4"
}
if(wfi.day == "Thu"){
wfi.day = "Thu5"
}
if(wfi.day == "Fri"){
wfi.day = "Thu6"
}
if(wfi.day == "Sat"){
wfi.day = "Thu7"
}
if(wfi.day == "Sun"){
wfi.day = "Chunhat"
}
and edit your language.
Best Regards,
Huyen Tran

Best Regards,
Huyen Tran
Attachments:
The topic has been locked.
Moderators: Jackie
Time to create page: 0.027 seconds
Powered by Kunena Forum