[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: translated templates files



Joey Hess <joeyh@debian.org> writes:

> Michael Bramer wrote:
> > one question:
> > 
> > I see the language postfix -fr and -FR. Is the last one ok? 
> > I believe no. Joey?
> 
> I'm hardly an i18n expert, but debconf will not use a template with a
> -FR prefix unless your LANG is set to FR_*

Neither am I, but some standards seemingly don't give much of a hoot
about what other standards say.

On language codes the HTML 4.01 spec says:

  6.8 Language codes

  The value of attributes whose type is a language code (
  %LanguageCode in the DTD) refers to a language code as specified by
  [RFC1766], section 2.  [...]

  Language codes are case-insensitive.

Then RFC1766 says:

  The following registrations are predefined:
     In the primary language tag:
     - All 2-letter tags are interpreted according to ISO standard
       639, "Code for the representation of names of languages" [ISO
       639].

And ISO 639 then says:

  Technical contents of ISO 639:1988 (E/F)
  Code for the representation of names of languages

     Two-letter lower-case symbols are used

I guess it all depends on which piper's tune you care to dance.  
-- 
Olaf Meeuwissen       Epson Kowa Corporation, Research and Development



Reply to: