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

Support localisation in descriptor schemas #5932

Closed
alansemenov opened this issue Jan 10, 2018 · 0 comments
Closed

Support localisation in descriptor schemas #5932

alansemenov opened this issue Jan 10, 2018 · 0 comments
Assignees

Comments

@alansemenov
Copy link
Member

alansemenov commented Jan 10, 2018

As a user, I want to be able to localise labels and help text inside my content type so that they are displayed in correct language based on my browser locale. I also want the same localisation support in admin tool schemas so that the Launcher panel displays the admin tools in correct language.

Acceptance criteria:

  • I can provide localisation key in the i18 attribute of the following fields in my content type schema: display-name (content-type), label (inputs) and help-text (inputs). For example,<display-name i18n="localisation.key">...</display-name>
  • I can provide fallback value for the same fields, which will be used if localisation key (or the entire bundle) is not found. For example,<display-name i18n="localisation.key">Fallback value</display-name>
  • If resource bundle for current locale doesn't exist in the application, nothing is crashes and fallback values are used
  • If localisation key from the i18 attribute is not found in the resource bundle for current locale, nothing is crashes and fallback values are used
  • Localisation inside admin tool schemas is following the behaviour described above and I get app names and descriptions in correct language inside the Launcher panel
@alansemenov alansemenov self-assigned this Jan 10, 2018
@alansemenov alansemenov changed the title Support localisation of content types Support localisation in descriptor schemas Jan 19, 2018
aro pushed a commit that referenced this issue Jan 23, 2018
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