Skip to content

How do you create a website with multiple languages? #14

Discussion options

You must be logged in to vote

I added support for multiple languages.

To enable multi language mode open system/config/config.ini and change multiLanguageMode = 1. Create a new folder 1-en in your content directory, put all your previous content inside this folder. This is now the default language for your website. If your default language is not English, please name the folder correspondingly.

The screenshot shows the folders 1-en, 2-de and 3-fr for English, German and French. You can add as many languages as you like. If you want a landing page, add a default folder as well. The landing page can redirect to the correct language. The API has examples to show all available languages.

As a final step translate text li…

Replies: 13 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by annaesvensson
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #14 on December 29, 2020 08:13.