RAMADDA has support for multiple languages
|
<language id>.pack.txtWhere <language id> is the short identifier for the language, e.g. "es.pack.txt". There are a number of pre-defined language phrase files. You can view these files on Github. You can view an interactive page showing the available languages and their phrase translations here.
ramadda.languages.enabled = trueTo show a large language switcher add the wiki text:
e.g.::langswitcher en,es,fr
e.g.: You can also define or overwrite a translation for a particular phrase on a page with:+lang en This is the English -lang +lang es This is the Spanish -lang
:phrase ID "English phrase" "Translation" e.g.: :phrase es "Language Blocks" "Some Spanish translation for Language Blocks"
e.g. for Spanish::setlang <the language ID>
:setlang es
English phrase=<translation> Another English phrase=<translation> ...Go to Add Properties of your top-level entry and look for the Add Language Phrases File Then specify the language ID (e.g., "lkt") and upload your phrases file. Setting the inherited flag to true will enable these phrases to be used throughout your entires RAMADDA. And here are the available languages:
foo.pack.txtYou will then need to edit the file. Change the type and name to the appropriate values:
language.type=foo language.name=Foo LanguageThen, for every phrase provide a translation, e.g.:
Date=Fecha