yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #47477
[Bug 1553610] [NEW] ng launch instance workflow: hard to control the word order in trasnlations
Public bug reported:
The following commit recently merged introduces a difficult situation
for translations.
commit be9023d86e058d81d6c2504e87c3a385f34472e6
Fix theming in angular launch instance
horizon/static/framework/widgets/load-edit/load-edit.html
<span translate>Script size:</span>
{$ (scriptLength || 0) | bytes $}
<span translate>of</span>
{$ config.MAX_SCRIPT_SIZE | bytes $}
It is "X of Y", but in some languages, a natural order is "trans(Y) trans(of) trans(X)".
The current code does not allow translators to control the word order.
angular-gettext allows Interpolation.
The above should be like:
<span translation>Script size: {{scriptLength}} of {{max_size}}</span>
Unfortunately I am not familiar with how to use interpolate with filter.
It would be nice if someone takes this bug.
** Affects: horizon
Importance: High
Status: New
** Tags: i18n
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1553610
Title:
ng launch instance workflow: hard to control the word order in
trasnlations
Status in OpenStack Dashboard (Horizon):
New
Bug description:
The following commit recently merged introduces a difficult situation
for translations.
commit be9023d86e058d81d6c2504e87c3a385f34472e6
Fix theming in angular launch instance
horizon/static/framework/widgets/load-edit/load-edit.html
<span translate>Script size:</span>
{$ (scriptLength || 0) | bytes $}
<span translate>of</span>
{$ config.MAX_SCRIPT_SIZE | bytes $}
It is "X of Y", but in some languages, a natural order is "trans(Y) trans(of) trans(X)".
The current code does not allow translators to control the word order.
angular-gettext allows Interpolation.
The above should be like:
<span translation>Script size: {{scriptLength}} of
{{max_size}}</span>
Unfortunately I am not familiar with how to use interpolate with
filter. It would be nice if someone takes this bug.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1553610/+subscriptions
Follow ups