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

Added option to configure the UI language per user #2

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
1 participant
@LarsGit223
Copy link

commented Jan 13, 2019

This is an attempt to enable configuration of the UI language per user. Also see forum thread https://forum.dokuwiki.org/thread/16576.

If the logged in user has got a settings in user_settings then that language will be used. Otherwise normal processing continues (...check option use_browser_lang).

Here is a example configuration for user_settings (it is a multi line text field):

UserA="de";
UserB="fr";

So in this example, if UserA logs in, the UI will be presented in german. If UserB logs in, the UI will be presented in french. If some different user logs in or if no one is logged in the plugin will act as before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.