[Bugs] #4449 sugar UNSP: "Spanish" not translated in My Settings language section
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Thu Feb 28 12:11:17 EST 2013
#4449: "Spanish" not translated in My Settings language section
------------------------------------------+---------------------------------
Reporter: manuq | Owner: manuq
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: 1.0
Component: sugar | Version: Unspecified
Severity: Unspecified | Keywords:
Distribution: Unspecified | Status_field: Unconfirmed
------------------------------------------+---------------------------------
gettext fails to find 'Spanish' translation because it doesn't exist.
Having a look at the es.po file in upstream iso-codes, the one that exists
is "Spanish; Castilian". In the es.po, for example, it is translated to
"Español; Castellano"
http://anonscm.debian.org/gitweb/?p=iso-codes/iso-
codes.git;a=blob;f=iso_639/es.po;h=ca63ee0f55be60ff35065037a8ab421d10429939;hb=HEAD#l1689
Here is where "Spanish" comes from: to construct the set of available
locales (language, country, code), Sugar parses the output of {{{locale
-av}}} command. For language Spanish it returns 'Spanish' string parsing
locales like this:
{{{
locale: es_AR archive: /usr/lib/locale/locale-archive
-------------------------------------------------------------------------------
title | Spanish locale for Argentina
source | RAP
address | Sankt J<F8>rgens Alle 8, DK-1615 K<F8>benhavn V, Danmark
email | bug-glibc-locales at gnu.org
language | Spanish
territory | Argentina
revision | 1.0
date | 2000-06-29
codeset | ISO-8859-1
}}}
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/4449>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list