#7559 UI LoginScreen widget cannot be translated
Closed: fixed Opened by slev.

I've expected to see messages in Russian at freeipa web login page, because translatable text is in mo file already. My Accept-Language is 'ru'.
But all is in English.

The UI LoginScreen widget cannot be translated even the file LoginScreen.js contains '@i18n:' for translatable messages.
As i understand JSON-RPC is not available without authorization and therefore i18n_messages method.

<!!image>


https://github.com/freeipa/freeipa/pull/2072/

Metadata Update from @rcritten:
- Issue set to the milestone: FreeIPA 4.7

master:

  • ab0835f91f83e295b6ef2875af6470056acdaf76 Add endpoint for serving i18n requests
  • 86b57236c07e72907cda92c09a219b86200dff09 Disable authentication to endpoint for serving i18n requests
  • de58b80891aab54ef0439449295846b7470724e6 Implement "translations" AMD
  • 9492fb7f866c2e8cab269c4131d1a67ff6841af2 Add dependency to "translations" module
  • c0c6b21ba19da4b0c609868c2f95433077341ef7 Stop fetching translations at metadata phase
  • 5d8fde0ac1a43c8f3dbc53b44d69f3663a8b36fb Fix translations at LoginScreen widget
  • 2a81ec3b94712e822f7d3a5452974626c4d5c42c Fix translations at login plugin
  • 6bc37150459c779b46ded736a69637188fa95dd7 Fix translations at load_page plugin
  • 7f9f59bae2a362ce945c49ad8342393b7a5c024f Fix translation of profile menu
  • c4467aaeea6f255d181e286973bff2c1c6dc7280 Add static JSON dump of i18n_messages request
  • b8607e24d610a240a2501fdfe0242233fa00e2e2 Fix Web UI 'get_entity_param' test
  • 0dace623ab1c96b7af8fd64028c9e37d2b10f788 Add support for JSON request in HTTP test class
  • 0908e80d62146c79c4312effb8e285c13294ec4b Add support for Accept-Language in HTTP test class
  • f49fac7bda8150aee2086be9afdbe4eb81c3f18a Add tests for "i18n_messages" end point
  • bb67eea1054c9fe80b8bba67c7dc2c0991a1b991 Fix Web UI "details lifecycle" test
  • 4b2af2570aee6b108504e14330d61bf65a52905c Stop usage of "IPA.messages" in Web UI "utils" tests

Metadata Update from @rcritten:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

master:

  • 0e9fb8ac62ebf4b8458786f6d845287aa6f6d9da webui: change indentation of freeipa/_base/debug.js
  • 78cefe098f57bb731b10028a9eea12a7022656c1 webui: remove mixed indentation in App and LoginScreen

ipa-4-7:

  • 2438c3311619336a332196f5e53dfa739fc0b29f webui: change indentation of freeipa/_base/debug.js
  • 84e48df90500a17f35980a2990497d5596c7fbed webui: remove mixed indentation in App and LoginScreen
Metadata