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

languages array to lowercase #26

Merged
merged 1 commit into from
Dec 12, 2017
Merged

languages array to lowercase #26

merged 1 commit into from
Dec 12, 2017

Conversation

germanbisurgi
Copy link

No description provided.

@schmunk42
Copy link
Member

I think we should not enforce this.

CC: @marc7000 @handcode WDYT?

@handcode
Copy link
Member

handcode commented Dec 11, 2017

$language in pages is lowercased in DefaultController, therefore i think it's consistent to lowercase it in all places.

$language = mb_strtolower(\Yii::$app->language);

@handcode handcode merged commit aa21ad3 into dmstr:master Dec 12, 2017
@handcode
Copy link
Member

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

Successfully merging this pull request may close these issues.

None yet

3 participants