Is it possible, and if yes, how, to have the descriptions and instructions that I enter as administrator to change when user changes the language?
Very specifically, I am using pop3 authentication. The configuration panel for it includes a text block with info for users. Great except that I need to have this text in multiple languages not just the one I entered in the web interface. I want people using English, see it in English, and people using German, see it in German.
Sure. Enable the multilang filter in Admin >> Config >> Filters.
Then type your text like this:
The <span> syntax is new in 1.5. Earlier versions used this tag instead, but it caused some problems in the editor:
Then type your text like this:
<span lang="en">English stuff here</span>
<span lang="de">Deutsche stuff here</span>
<span lang="de">Deutsche stuff here</span>
The <span> syntax is new in 1.5. Earlier versions used this tag instead, but it caused some problems in the editor:
<lang lang="en">English stuff here</lang>
<lang lang="de">Deutsche stuff here</lang>
<lang lang="de">Deutsche stuff here</lang>
I am using 1.4.4 so I need to take a risk with the lang tag. Is there a way to specify default? I mean a text to display when a given language version is not provided?
<lang lang="fr">French stuff here</lang>
<lang lang="de">Deutsche stuff here</lang>
<lang lang="pl">Polish stuff here</lang>
<lang lang="">English stuff here, for any other language</lang>
<lang lang="fr">French stuff here</lang>
<lang lang="de">Deutsche stuff here</lang>
<lang lang="pl">Polish stuff here</lang>
<lang lang="">English stuff here, for any other language</lang>
The logic is like this:
- If your chosen language is found in the mulittext, then that is used.
- If the parent language of your chosen language is found, then that is used.
- If English (en) is found in the multitext, then that is used.