Skip to content

feat(i18n): Allow localize domain description and documentation

Andrii Bezuglyi requested to merge feat/i18n_domain_improv into master

Domain-based localization logic allows get localized entity or entity attribute not just caption, but also description and documentation. In order to do so, use hashtag suffix and description or documentation, for example:

  • UB.i18n('uba_user.name#description')
  • UB.i18n('uba_audit#documentation')

In code, replaced locale string parsing from String.split to regexp.

Merge request reports

Loading