[dashboard] Strings in dynamic UI are not passed through standard gettext machinery

Bug #1311084 reported by Timur Sufiev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Invalid
Wishlist
Akanksha Srivastava

Bug Description

First step of localization is extraction of strings. Because strings in dynamic UI are not located under management of muranodashboard manage.py tool, they won't be extracted - and thus they aren't localizable.

So we should find a way to make those strings localizable.

This is not about strings in js, but rather about strings in dynamic ui of the apps.

Should be fixed as part of https://blueprints.launchpad.net/murano/+spec/murano-i18n

Tags: muranopl
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Let's fix this issue in the future releases.

Changed in murano:
status: New → Confirmed
Changed in murano:
assignee: nobody → Ekaterina Chernova (efedorova)
milestone: none → juno-2
Changed in murano:
assignee: Ekaterina Chernova (efedorova) → nobody
milestone: juno-2 → none
Changed in murano:
milestone: none → juno-3
importance: Medium → High
ruhe (ruhe)
Changed in murano:
milestone: juno-3 → none
milestone: none → juno-rc1
Dmytro Dovbii (ddovbii)
Changed in murano:
assignee: nobody → Dmitrii Dovbii (ddovbii)
ruhe (ruhe)
Changed in murano:
milestone: juno-rc1 → none
Changed in murano:
milestone: none → juno-rc1
milestone: juno-rc1 → none
Dmytro Dovbii (ddovbii)
Changed in murano:
assignee: Dmytro Dovbii (ddovbii) → nobody
Revision history for this message
Andrew Pashkin (apashkin) wrote :

Django has batteries for translation of strings in JS [1]. Maybe we should use them?

[1] https://docs.djangoproject.com/en/1.7/topics/i18n/translation/#internationalization-in-javascript-code

Changed in murano:
milestone: none → liberty-1
Changed in murano:
importance: High → Medium
Changed in murano:
milestone: liberty-1 → liberty-2
Revision history for this message
Kirill Zaitsev (kzaitsev) wrote :

JS translation can be done with standard js gettext. Will start working on it as soon as we have all js fixes for https://blueprints.launchpad.net/murano/+spec/add-js-lint-jobs merged.

Changed in murano:
assignee: nobody → Kirill Zaitsev (kzaitsev)
Changed in murano:
milestone: liberty-2 → liberty-3
Changed in murano:
milestone: liberty-3 → liberty-rc1
Changed in murano:
milestone: liberty-rc1 → liberty-rc2
Changed in murano:
milestone: liberty-rc2 → mitaka-1
description: updated
Changed in murano:
assignee: Kirill Zaitsev (kzaitsev) → nobody
description: updated
tags: added: muranopl
removed: dashboard
Changed in murano:
assignee: nobody → Akanksha Srivastava (akanksha-dlf)
Changed in murano:
milestone: mitaka-1 → mitaka-2
Revision history for this message
Kirill Zaitsev (kzaitsev) wrote :
Changed in murano:
status: Confirmed → Invalid
importance: Medium → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.