Bug 716742

Summary: No spanish l18n when LANG=es_* different than es_AR,es_CL,es_ES,es_MX
Product: [Fedora] Fedora Reporter: Robert Marcano <robert>
Component: firefoxAssignee: Martin Stransky <stransky>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: aalam, gecko-bugs-nobody, i18n-bugs, pnemade, stransky
Target Milestone: ---Keywords: i18n
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-26 06:55:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.