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 possibility to change locale from login/register pages #3216

Merged
merged 2 commits into from Oct 15, 2018

Conversation

nicosomb
Copy link
Member

@nicosomb nicosomb commented Jun 12, 2017

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? no
Documentation no
Translation no
Fixed tickets #1695
License MIT
  • test ?

capture d ecran 2017-12-12 a 20 45 34

*/
public function setLocaleAction(Request $request, $language = null)
{
if ($language != null) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!==

@j0k3r j0k3r changed the base branch from 2.3 to master October 23, 2017 09:13
@nicosomb
Copy link
Member Author

I rebased this PR.

@j0k3r Do you think that we need test for this one? I can't test the language displayed on the login form because in our testsuite, we don't have language.

@nicosomb
Copy link
Member Author

Languages are hard coded in the HTML because we want the word in german, english and french (and not "Allemand, Anglais, Français" for example).

@j0k3r j0k3r added this to the 2.4.0 milestone Oct 13, 2018
@j0k3r j0k3r changed the base branch from master to 2.4 October 13, 2018 07:27
@j0k3r j0k3r requested a review from Kdecherf October 13, 2018 07:32
nicosomb and others added 2 commits October 13, 2018 09:39
- Do not override locale if user has choosen a locale from the login screen.
- Add some tests about locale url
Copy link
Member

@Kdecherf Kdecherf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@j0k3r j0k3r merged commit 5bb01c0 into 2.4 Oct 15, 2018
@j0k3r j0k3r deleted the change-locale-register branch October 15, 2018 08:31
@j0k3r j0k3r mentioned this pull request May 29, 2019
@j0k3r j0k3r mentioned this pull request Oct 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants