Doesn't load localised description of skyculture/landscape if applanguage=system_default

Bug #845924 reported by 375gnu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Low
Alexander Wolf

Bug Description

If we have have `app_locale' in config.ini set to `system_default' then real locale name is `xx_XX' and in such form it's returned by getAppLanguage().
When stellarium looks for translation for sky culture or landscape it looks for file `description.$lang.utf8'. Of cause it couldn't find it cause it expects $lang to be `xx' not `xx_XX'.

I think it should check both files.

Related branches

Changed in stellarium:
status: New → Confirmed
milestone: none → 0.11.1
Changed in stellarium:
assignee: nobody → Alexander Wolf (alexwolf)
status: Confirmed → In Progress
Changed in stellarium:
status: In Progress → Fix Committed
Changed in stellarium:
importance: Undecided → Low
Changed in stellarium:
status: Fix Committed → Fix Released
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.