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

set default_language in first logging #7394

Closed
universcom opened this issue Dec 5, 2017 · 2 comments
Closed

set default_language in first logging #7394

universcom opened this issue Dec 5, 2017 · 2 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap feature: language l10n and translations

Comments

@universcom
Copy link

Hi dears. I install nextcloud12 and want set my default_language to Persian. I set default_language to "fa" in config.php in config directory. but not working and my language is English. please help me to my users in first start use Persian language.

@blizzz
Copy link
Member

blizzz commented Dec 5, 2017

This sets the default language on your Nextcloud server, using ISO_639-1
language codes such as en for English, de for German, and fr for
French. It overrides automatic language detection on public pages like login
or shared items. User's language preferences configured under "personal ->
language" override this setting after they have logged in.

I guess with a fresh (test) user, Farsi will be set. If you want to be very very drastic and stric, you can enforce farsi by 'force_language' => 'fa' in the config.php.

@blizzz blizzz added 0. Needs triage Pending check for reproducibility or if it fits our roadmap feature: language l10n and translations labels Dec 5, 2017
@MorrisJobke
Copy link
Member

The default_language is only used when there is none present in the user settings or the browser. Otherwise those are used (in that order).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap feature: language l10n and translations
Projects
None yet
Development

No branches or pull requests

3 participants