The internationalization add-on change the language-tree, but a multilanguage block shows content still in the system's default language
Permalink 3 users found helpful
Hi all,
I drop several hours for this problem, and I don't know how can be fix this:
I have a multilanguage site using Internationalization add-on. I use a few blocks on it. When I'm not logged in as admin, the content of the blocks shows every text content in the system's default language. When a change the system's default language, the content language of the blocks are change as well.
When I change language using Inaternationalization block, it is regirect to the correct language tree. It's working fine, but the content under this page still in the default language.
I did; clear the cache, restart the server. The problem is the same.
What is did wrong? Do you met issue like this?
I drop several hours for this problem, and I don't know how can be fix this:
I have a multilanguage site using Internationalization add-on. I use a few blocks on it. When I'm not logged in as admin, the content of the blocks shows every text content in the system's default language. When a change the system's default language, the content language of the blocks are change as well.
When I change language using Inaternationalization block, it is regirect to the correct language tree. It's working fine, but the content under this page still in the default language.
I did; clear the cache, restart the server. The problem is the same.
What is did wrong? Do you met issue like this?
So lets see.
1. I use the free internationalization add-on (dowloaded from marketplace),
2. Languages for C5 core de_DE, hu_HU, sk_SK, de_DE (downloaded from transifex "https://www.transifex.com/projects/p/concrete5/")
3. Language files for own packages (e.g. /pakages/my_package/languages/de_DE/LC_MESSAGES/messages.po translated width poedit "http://www.poedit.net/download.php")
4. After code above insterted to the header.php went work the language change in blocks.
EDIT: forget it. Doesn't work safely...
If somebody figured out the solution share with me pls.
EDIT2: interesting; when i add the text's content of my block - t('block text') - to the language files under the core language folder the language swith works well, the content of a multilanguage block work property.
Thx