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

Make control panel language independent from locales #847

Closed
angrybrad opened this issue Jan 31, 2017 · 10 comments
Closed

Make control panel language independent from locales #847

angrybrad opened this issue Jan 31, 2017 · 10 comments

Comments

@angrybrad
Copy link
Member

Created by: André Elvan (andre@vaersaagod.no) on 2015/08/27 16:07:59 +0000
Votes at time of UserVoice import: 39


The language in the control panel is defined by the locale of the site, or the preferred locale of the user. This is fine as long as the developers and other control panel user speak the same language as the sites locale. But this isn't always the case, my english-speaking colleague creates sites that is supposed to be only in norwegian. And even though I speak both, I actually prefer having english in the control panel.

In the case where we develop sites that are both in norwegian and english, I can set the preffered locale to english. But in addition to changing the control panel language, this also makes all new entries be created by default in the english locale. While most of the time, the norwegian site is actually the "main" site, so I usually want that to be the preferred locale, like today.

Please, can we get the option to select control panel language independently from locales. :)

@angrybrad
Copy link
Member Author

Posted by Mats Mikkel Rummelhoff (mail@mmikkel.no) on 2015/03/09 00:12:31 +0000


@yoannis, the "preferred locale" setting is mentioned in the feature request above. It doesn't solve the use case where a user needs to have the CP in a language that isn't installed as a content locale (the OP specifically mentions an English-speaking developer building a single-language site in Norwegian).

@angrybrad
Copy link
Member Author

Posted by Yoannis Jamar (yoannis.j@gmail.com) on 2016/02/04 15:41:11 +0000


Like @christian says, @carlcs suggests a solution that works here:
http://craftcms.stackexchange.com/questions/9784/how-do-i-have-my-control-panel-in-english-but-my-site-locale-to-dutch

But it is essentially a hack and requires to manually load the cp language's translations for all plugins used.

@angrybrad
Copy link
Member Author

Posted by Yoannis Jamar (yoannis.j@gmail.com) on 2016/02/04 15:41:11 +0000


At the moment, this is not an issue in craft pro, where you can set a 'preferred language' setting for each user and that will be used for the cp. Therefore, I understand that the argument of international teams doesn't weight so much - as websites with a team of editors should be running on craft pro.

But the issue still exists in craft client versions, when the client speaks a different language then the developer, or simply because the developer is used to work with craft in english or is not very familiar with the website's frontend language.

@angrybrad
Copy link
Member Author

Posted by chris (chris@g2g-online.nl) on 2015/11/13 13:14:20 +0000


The backend and frontend locale (options) are linked together at the moment. Consider to split them so you can add a backend locale that can be used in a profile, without requiring it to be in the frontend as well.

Simple example:

Frontend language: FR only
Backend language: EN

Reason: International team working together in the backend, but frontend is always in French (insert random language).

@angrybrad
Copy link
Member Author

Posted by Christian (seelbach@gmx.de) on 2015/03/09 00:49:13 +0000


Here's a good solution:
http://craftcms.stackexchange.com/questions/9784/how-do-i-have-my-control-panel-in-english-but-my-site-locale-to-dutch

@angrybrad
Copy link
Member Author

Posted by Marco (marco@coko.nl) on 2015/11/13 12:37:13 +0000


Yes it would be great if the site’s preferred locale can be different from the locale preferred by the user working in the CP.

@angrybrad
Copy link
Member Author

Posted by Jacob (jacob@smidswater.nl) on 2015/10/29 14:05:06 +0000


I would love to see this too! something like per user a custom CP language to be set in the config or CP. And independent locales to be set for the content!

@angrybrad
Copy link
Member Author

Posted by Mats Mikkel Rummelhoff (mail@mmikkel.no) on 2015/03/09 00:12:31 +0000


Wow, I just asked P&T for the exact same thing :)

A distinction between content locales and system language – i.e. being able to have the CP run in any language, regardless of the content locale(s) installed – would be great.

Like André says, even if the content is in a particular language, there will often be users who need access to the CP who doesn't necessarily speak that language, or who prefer to have the CP in a particular language regardless of the content.

@gsomoza
Copy link

gsomoza commented Oct 27, 2017

Bump. Is there any chance of this happening for Craft 2 anytime soon?

@brandonkelly
Copy link
Member

brandonkelly commented Oct 27, 2017

@gsomoza Not for Craft 2, which is mostly on a feature freeze, but just added it for Craft 3 RC1 ;)

brandonkelly added a commit that referenced this issue Nov 22, 2017
Now user chooses preferred language from all supported application languages; not site languages (resolves #847)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants