British English translations don't appear to work in Angular Launch Instance.

Bug #1552867 reported by Rob Cresswell
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Confirmed
Low
Unassigned

Bug Description

Although other languages seem fine, British English doesn't seem to apply to the Angular Launch instance. Probably some wonky handling of 'en' vs 'en-gb'

Tags: i18n
Doug Fish (drfish)
Changed in horizon:
status: New → Confirmed
Doug Fish (drfish)
tags: added: i18n
Revision history for this message
Doug Fish (drfish) wrote :

Horizon relies on Django's javascript_catalog view to get translated javascript. It looks like translations aren't included for British English or Australian English.

You can check this by changing your current langauge in Horizon then navigating to
[YOUR_WEBROOT]/i18n/js/horizon+openstack_dashboard/

Notice that non-English views include a catalog. English views don't. This isn't right. It seems this is probably a Django problem.

Specifically, this looks suspicious
https://github.com/django/django/blob/master/django/views/i18n.py#L212

Revision history for this message
Doug Fish (drfish) wrote :
Doug Fish (drfish)
Changed in horizon:
importance: Undecided → Low
Revision history for this message
Doug Fish (drfish) wrote :

Looks like there is a related defect that has a fix to be proposed:

https://code.djangoproject.com/ticket/26328

It worked for me!

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.