Frontend is not getting locale computed
Permalink
Hi there,
I've been able to
Output:
While the path is "/pt/portfolio" and this is the page under '/pt' which has locale 'pt_PT'.
Now, where does the locale get's computed so I can look into it?
This is the reason for translations not working on my frontends (topics and so on... for instance, I sense this thread is due to this problem:https://www.concrete5.org/community/forums/internationalization/how-... )
I've been able to
var_dump(Localization::getInstance( ));
Output:
While the path is "/pt/portfolio" and this is the page under '/pt' which has locale 'pt_PT'.
Now, where does the locale get's computed so I can look into it?
This is the reason for translations not working on my frontends (topics and so on... for instance, I sense this thread is due to this problem:https://www.concrete5.org/community/forums/internationalization/how-... )
Hi mlocati,
Problem only happens while logged in. When visiting as guest, the right locale get's computed. But, is this expected?
# concrete5 Version
Core Version - 5.7.5.9
Version Installed - 5.7.5.9
Database Version - 20160615000000
Problem only happens while logged in. When visiting as guest, the right locale get's computed. But, is this expected?
# concrete5 Version
Core Version - 5.7.5.9
Version Installed - 5.7.5.9
Database Version - 20160615000000
Yes, this is the expected behavior.
The problem is that when you visit a page as a logged-in user, there are 2 current languages: the page one and the user's one.
By default, concrete5 5.7 uses the user's one, but you can specify to use the page one in the dashboard page /dashboard/system/multilingual/setup: look for the "Load Interface Language from" option.
The problem is that when you visit a page as a logged-in user, there are 2 current languages: the page one and the user's one.
By default, concrete5 5.7 uses the user's one, but you can specify to use the page one in the dashboard page /dashboard/system/multilingual/setup: look for the "Load Interface Language from" option.
I see. Yes, changing from user to page selection makes the behavior I'm looking after.
Just misunderstood the options.
Thanks mlocati
Just misunderstood the options.
Thanks mlocati
Do you have this problem when you are logged in or when you visit your website as a guest?