Change Language in Calendar Base
- You can easily change the language display of the Calendar Base extension. We'll begin by navigating to the calendar page and taking a look at it in the default language.
- Note that the days of the week, etc. are in English, the default language. To change the language display, return to the TYPO3 Backend.
If your Calendar page has an extension template record, you may edit it to change the language display. Otherwise, select the root page. - Click on the Template Module and select the Setup edit icon (on the Template Module's Info-Modify form).
For our example, we'll change the Calendar Base default language to German. Begin by adding the TypoScript that forces any extension to use the German language if the localization exists. Add the TypoScript and then click the Update button.
The general TypoScript language command is:
config.language = de
config.renderCharset = utf-8 - Because most servers already have multi-language capabilities, the Calendar Base extension uses this to change the labels for days and months. However, you need to get the exact codes from your server. To do this, Calendar Base has a built-in script that will access your server and display the langauge capabilities and codes for your server.
To access the script, point your browser to www.YOUR-SITE-NAME.com/typo3conf/ext/cal/misc/locales.php - Scroll down the list to find the code in the Available Locales list. In this case, we know we're looking for DE in the utf8 format. Find the code and copy it to your clipboard or write it down exactly as it appears.
Once you've copied the code, return to the Template Module and the Setup field in the TYPO3 Backend. - At the end of the Setup field, add the TypoScript
config.locale_all =
plus the code you copied, update the form, and then view your work in the Frontend. - If the names are not correct, in most cases the issue is that the wrong code was selected from the Locales list. Return to that list, select another option, and update the Setup field.
total page views:529


