Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C1] Support multi-URL with language settings #6030

Open
ywarnier opened this issue Jan 14, 2025 · 2 comments
Open

[C1] Support multi-URL with language settings #6030

ywarnier opened this issue Jan 14, 2025 · 2 comments

Comments

@ywarnier
Copy link
Member

For some reason, it is not possible to set a "PlatformLanguage" per access_url_id, even when the setting allows for changes per URL.

If I have a multi-URL install, whatever the URL I'm in, if I change the PlatformLanguage setting (the default language of the platform), it is changed as a single record in settings_current. Normally, if I change it from a sub-URL, it should create a new entry in settings_current with the sub-URL's access_url_id.

@ywarnier ywarnier added the Bug label Jan 14, 2025
@ywarnier ywarnier added this to the 1.11.30 milestone Jan 14, 2025
christianbeeznest added a commit to christianbeeznest/chamilo-lms that referenced this issue Jan 15, 2025
@christianbeeznest
Copy link
Contributor

It is fixed with this PR #6033

Thanks for confirmation.

@NicoDucou
Copy link
Member

I just tested it, and it works fine to set a different default language for sub URLs.
There is still a little problem, when on the page main/admin/languages.php on a sub URL there is no indication of the default language.
Normaly the in the property column there is a grey icon for all the language to be able to set it as the default language

Image

except for the current default that has a blue icon with no action

Image

Once this little modification is done you can fix the conflict that do not enable to merge the branch and do the merge with 1.11.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants