Bug 716742 - No spanish l18n when LANG=es_* different than es_AR,es_CL,es_ES,es_MX
Summary: No spanish l18n when LANG=es_* different than es_AR,es_CL,es_ES,es_MX
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-26 20:43 UTC by Robert Marcano
Modified: 2012-07-26 06:55 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-26 06:55:06 UTC
Type: ---


Attachments (Terms of Use)

Description Robert Marcano 2011-06-26 20:43:00 UTC
Description of problem:

Firefox statup script does not find a langpack for any Spanish locale different than es_AR,es_CL,es_ES,es_MX. The statup script try to create a link inside the profile directory for the appropriate langpack, trying first with the full locale, for example "es_VE", later for "es" but there is no global "es" langpack only country specific ones like es_AR,es_CL,es_ES,es_MX, no the UIs is displayed on english
 

Version-Release number of selected component (if applicable):

firefox-5.0-2.fc15.x86_64

Additional info:

I propose to add a third langpack try, using es-ES, changing the firefox startup script from:

create_langpack_link $SHORTMOZLOCALE || create_langpack_link $MOZLOCALE || true

to:

LONGMOZLOCALE=$SHORTMOZLOCALE-`echo $SHORTMOZLOCALE | tr '[:lower:]' '[:upper:]'`
create_langpack_link $SHORTMOZLOCALE || create_langpack_link $MOZLOCALE || create_langpack_link $LONGMOZLOCALE || true

This way the langpack "es-ES" is tried if "es" is not found

Comment 1 Martin Stransky 2011-06-27 08:35:09 UTC
We'd need some better langpacks fallback but this one is applicable to es locale only.

Comment 2 Robert Marcano 2011-07-15 22:48:56 UTC
(In reply to comment #1)
> We'd need some better langpacks fallback but this one is applicable to es
> locale only.

do that means that this could not be applied? at least this solves the problem with a lot of Spanish speaking countries

I think the fallback of lang-lang is good, there is already pt-PT and many more regions than Brazil and Portugal that speak Portuguese (or variations)

Comment 3 Parag Nemade 2012-07-26 06:55:06 UTC
I can see all these es_* locale langpacks available and getting used in firefox.


Note You need to log in before you can comment on or make changes to this bug.