How do you create a website with multiple languages? #14
-
How do you create a website with multiple languages? |
Beta Was this translation helpful? Give feedback.
Replies: 13 comments
-
The previous solutions didn't work. Here are some things that would be good to have:
Anything else you like to have? |
Beta Was this translation helpful? Give feedback.
-
i would prefer the first solution with the optional default language. |
Beta Was this translation helpful? Give feedback.
-
Here's is my wish list for the multi language support:
|
Beta Was this translation helpful? Give feedback.
-
I added support for multiple languages. To enable multi language mode open The screenshot shows the folders As a final step translate text lines in file Let me know how it works. :) |
Beta Was this translation helpful? Give feedback.
-
Hi Mark, must the text.ini File for each language a special naming and where must be saved? Thanks! :-) Daniel |
Beta Was this translation helpful? Give feedback.
-
Hi Daniel,
|
Beta Was this translation helpful? Give feedback.
-
Hi Mark, thanks for your support. Now its works and Yellow is a great cms :-) Daniel |
Beta Was this translation helpful? Give feedback.
-
Thanks for testing, Daniel! Hope it is okay if I ask some questions. Was the configuration difficult? Anything missing that you need for a multi language website? |
Beta Was this translation helpful? Give feedback.
-
Hi Mark, the configuration was clean and simple. Once is missing, on the second language i have the /en/ in the url, but not in the default language. Thanks Daniel |
Beta Was this translation helpful? Give feedback.
-
Yes that's possible, add a default folder (without any files). The screenshot shows the folders for English, German, French and a default folder. The |
Beta Was this translation helpful? Give feedback.
-
I just added this information to the wiki page, taken from the thread above:
But wouldn't it make it easier (shorter, more consistent) to use the same 2-letter locale name as in the folder conventions?
And presumably if you have a default language that is not English, (e.g. And if so (!), does that mean that a Thanks for this! |
Beta Was this translation helpful? Give feedback.
-
Thank you for the update! Yes, I agree that a 2-letter name would be more consistent. I suggest to name these files:
About a default language, at the moment there isn't one... however the default installation comes with English text strings, which probably makes |
Beta Was this translation helpful? Give feedback.
-
Hope it's okay, I updated Yellow and wiki page to the new format. Thanks David for the good idea! 👍 |
Beta Was this translation helpful? Give feedback.
I added support for multiple languages.
To enable multi language mode open
system/config/config.ini
and changemultiLanguageMode = 1
. Create a new folder1-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
and3-fr
for English, German and French. You can add as many languages as you like. If you want a landing page, add adefault
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…