Skip to main content

Add your language translations

If the language your users are expecting is not available on My Schedule, you can create your own translations. This document describes how to create your own translations, and how to inject them to My Schedule.

Limitation

At the moment the My Schedule plugin cannot be translated dynamically. You need to provide us translations for the plugin to be available in your language.

Instructions

1. Copy translation files for English as a base for your translations

English translations are in the /translations/resource/en folder. The folder should contain _meta.json, common.json, control_panel.json, frontend.json, licenceapi.json.

Create a new folder on /translations/resource/[[YOUR_LANGUAGE_NAME]], and copy English files into the newly created folder.

2. Edit _meta.json

Open and edit name field. This string is the one that will appear on the language selection menus.

3. Edit common.json, control_panel.json, frontend.json, licenceapi.json

This is a straight-forward but laborious part. Translate the English strings into your own language.

4. Restart My Schedule

You have to stop the server, close the Control Panel, then reopen the Control Panel, and launch the server for the translations to be loaded.

5. Reload My Schedule pages

Sometimes the translation files are cached by browsers. You may need to force-reload with Ctrl+F5 to make it load the newest one.

6. Confirm

Now you should be able to select your own language on the language select menu.