Home › Forums › Calendar Products › Events Calendar PRO › Event Calendar widget days of the week X instead of M (Spanish / wednesday)
- This topic has 8 replies, 2 voices, and was last updated 6 years, 7 months ago by Allan Barush.
-
AuthorPosts
-
August 22, 2017 at 11:12 am #1338679Allan BarushParticipant
The event calendar grid widget is not representing the days of the week right in spanish. instead of being L,M,M,J,V,S,D it shows an X in third place of the array.
Where can I check this to fix it?
August 23, 2017 at 3:21 pm #1339421AndrasKeymasterHello Allan,
Thanks for reaching out to us!
What a great question!!! It made me super curious so I googled a bit. Acutally “X” is the official abbreviation of Wednesday in Spanish according to this and this resource.
Nonetheless, if you would like to change that, you will need to do it in the WordPress language file, as the names of the weekdays are taken from there. More specifically you need to look for this file:
wp-content\languages\es_ES.po
You can edit it with PoEdit or with the Loco Translate plugin.
If you edit it with PoEdit, then you will need to upload both the es_ES.po and es_ES.mo files to your server.
I hope this helps. Let me know if there is anything else I can help you with.
Cheers,
AndrasAugust 23, 2017 at 3:34 pm #1339423AndrasKeymasterJust found out from here, that “X” is used for Wednesday (Miércoles) so it doesn’t get confused with Tuesday (Martes). 🙂
Cheers,
AndrasAugust 23, 2017 at 4:27 pm #1339438Allan BarushParticipantThank you! but still I need it to change the X for the m. as I was working with the calendar I did notice that every time I change the month the language changed to english in the calendar. also the title has a FOR instead of PARA. on changing the wp-content\languages\es_ES.po do you what lines I’m looking for in the code?
thanks for your help.
August 24, 2017 at 6:15 am #1339660AndrasKeymasterHey Allan,
I totally understand.
The FOR -> PARA is quite simple. That string is translated already in The Events Calendar translation files, but in some cases the .po files don’t get update with a new release.
So you will need to update the .po file, here is how you can do that with PoEdit.
- Download and open wp-content\languages\plugins\the-events-calendar-es_ES.po (If you don’t find the file there, then download it from wp-content\plugins\the-events-calendar\lang\the-events-calendar-es_ES.po)
- In PoEdit go to Catalog > Update from POT file… and choose wp-content\plugins\the-events-calendar\lang\the-events-calendar.pot This will update the string set.
- Check the translations, some might be marked as Fuzzy / Needs work. Un-fuzzy them and save.
The specific string for the month view looks like this: “%1$s for %2$s” - Upload the-events-calendar-es_ES.po and the-events-calendar-es_ES.mo files to wp-content\languages\plugins\
Let me know if this fixes it.
Thanks,
AndrasAugust 24, 2017 at 1:16 pm #1339997Allan BarushParticipantThank you I will give it a try…
August 24, 2017 at 3:42 pm #1340045AndrasKeymasterSure thing! Let me know how far you get and if there is anything I can help you with.
Cheers,
AndrasSeptember 15, 2017 at 9:36 am #1349850Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Event Calendar widget days of the week X instead of M (Spanish / wednesday)’ is closed to new replies.