Posted: October 20, 2013 at 3:52 pm
|
Hello, I’d like to show the dates in Spanish, and there’s no option to localize these strings like Months and Days. |
|
Hi, To change the Month and Days, please go to the Calendar Settings and change them there (you will see Monday, Tuesday etc, just change them, but be careful not to accidentally delete the apostrophes or commas). If you are referring to something else, please advise exactly what needs translating. |
|
I don’t see the option that you’re telling me. I can send you the capture…. in which email? |
If you upload the screenshot to your WordPress Media uploads you can post a link here. Here’s a screenshot of the pre-release calendar settings that have the text fields outlined that allow for localizing via the settings. In the pre-release version, the days of the week and months of the year are run though localization functions so they can be translated via the gettext filter or a language file. |
|
|
Yes, i have the screenshot that you show. I supposed that I have the latest po, but I don’t see the strings to translate it. Where can i get the pot file? Regards. |
You could add them to the Spanish translation file that you are already using. There are some Event Espresso language files available to download here: https://github.com/eventespresso/languages I think what may happen is the calendar files will be changed to use the core translation files. You can try this out by changing the block of code in espresso_calendar.php in the pre-release around line 313 to: // i18n some strings $ee_calendar_js_options['monthNames'] = array( __('January'), __('February'), __('March'), __('April'), __('May'), __('June'), __('July'), __('August'), __('September'), __('October'), __('November'), __('December') ); $ee_calendar_js_options['monthNamesShort'] =array( __('Jan'), __('Feb'), __('Mar'), __('Apr'), __('May'), __('Jun'), __('Jul'), __('Aug'), __('Sep'), __('Oct'), __('Nov'), __('Dec') ); $ee_calendar_js_options['dayNames'] = array( __('Sunday'), __('Monday'), __('Tuesday'), __('Wednesday'), __('Thursday'), __('Friday'), __('Saturday') ); $ee_calendar_js_options['dayNamesShort'] = array( __('Sun'), __('Mon'), __('Tue'), __('Wed'), __('Thu'), __('Fri'), __('Sat') ); |
|
|
OK! I solve it. That’s the better solution, to have it in Po file. Regards, |
The support post ‘Localized Events Calendar (Pre-release)’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.