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

Enable _lang content negotation to work with i18n fields #464

Closed
nadar opened this issue Feb 27, 2020 · 0 comments
Closed

Enable _lang content negotation to work with i18n fields #464

nadar opened this issue Feb 27, 2020 · 0 comments
Assignees

Comments

@nadar
Copy link
Member

nadar commented Feb 27, 2020

The yii content negotiator provides a common way to transform any language from request header or param _lang=de into the applications language Yii::$app->language.

  • Content Negotation $languages should be provided from LUYA admin languages table out of the box.
  • The LUYA default admin language should be evaluted from the Yii::$app->language instead of the Yii::$app->composition->langShortCode
  • The LUYA Core should not Yii::$app->language with posix language, use resolved language instead. (now en_EN, expected en)
@nadar nadar self-assigned this Feb 27, 2020
@nadar nadar closed this as completed Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant