Home › Forums › Legacy Support › Support queries › Translation issues › The translation of the calendar is not taken
- This topic has 16 replies, 3 voices, and was last updated 3 years, 8 months ago by Diana.
-
AuthorPosts
-
March 4, 2021 at 2:13 pm #343952UsapukaSpectatorHello, I must have done something wrong as I translated the calendar into spanish, saved it in the 3 folders where it could be placed and the translation is not loaded in the calendar: https://screencast-o-matic.com/watch/crefI7WPcN How can I correct it? Thanks, regard,March 4, 2021 at 2:15 pm #343953UsapukaSpectatorThis reply has been marked as private.March 5, 2021 at 5:35 am #344018DianaParticipantUse this code and it will forcefully translate the calendar components in spanish Add this code in wp-admin > Plugins > editor > Select wplms customizer plugin > wplms-customizer.php
add_filter('vibefullcalendar_locale_languageCode','set_language_locale'); function set_language_locale(){ return 'es'; }
March 5, 2021 at 10:57 am #344103UsapukaSpectatorHi Diana, I added the code but nothing changed. What can I do? Thanks, regardsMarch 9, 2021 at 1:05 pm #344825UsapukaSpectatorHi Diana, Any news on how to make the translation work? I still see the calendar in English... Thanks, regards,March 11, 2021 at 1:23 pm #345389DianaParticipantThis reply has been marked as private.March 11, 2021 at 3:15 pm #345428UsapukaSpectatorThis reply has been marked as private.March 12, 2021 at 2:12 pm #345735UsapukaSpectatorHi Diana, To reset the conditions to zero, I uninstalled the calendar plugin, but as its information is still loaded in the database, when I reinstall it, everything remains the same. Is there any way to completely reset the installation to see if starting from scratch the translation is taken? Thanks, regardsMarch 15, 2021 at 10:22 am #346104DianaParticipantThis reply has been marked as private.March 15, 2021 at 11:47 am #346136UsapukaSpectatorThis reply has been marked as private.March 16, 2021 at 8:07 am #346353Scott LangModerator1- This calendar view can only https://prnt.sc/10mzuq1 translate using given above code by diana as it is part of fullcalendar which can not be translated from loco translate plugin. Checked on your site code is already working for Spanish locale https://prnt.sc/10mzzug 2- For rest of the string will be translated from loco translation. Fixed at your end https://prnt.sc/10n0gm7 Let me know if we can close this thread. If you have any other issues please create a topic and let us know.March 16, 2021 at 2:09 pm #346487UsapukaSpectatorHi Scott, Thanks Scott, now is working well. As far as I can see the translation is in the Author folder, in case I need to do new translations, do I update the templates and can I make a copy to the Loco Translate folder? And will it still work? Please be so kind to answer my questions and close this item. Regards,March 17, 2021 at 6:26 am #346605DianaParticipantYes you can copy translations from one folder to another without adding translations multiple times Hover on the language you will see the option to copy https://localise.biz/wordpress/plugin/custom-translations But make sure the folders should be this: https://prnt.sc/10nuah8March 17, 2021 at 12:31 pm #346751UsapukaSpectatorHi Diana, I'm sorry but I find a difference about where the copy of the translation should be stored: . according to Loco Translate the copy should go in the Custom folder: https://prnt.sc/10o5ejb. . as I understood from https://docs.wplms.io/translation-guide they recommend to place it into System (Global) https://prnt.sc/10nuah8, so it would be overwritten if there is an update. I would appreciate your clarification. Thanks, best regards,March 18, 2021 at 11:47 am #346985DianaParticipantYou should save in global language folder because when update is released and when you update any plugin or theme, this folder will remain untouched. and your translations will be safe -
AuthorPosts
- The topic ‘The translation of the calendar is not taken’ is closed to new replies.