[Developers] language codes

Kurt Bollacker kurt at metaweb.com
Thu Jan 31 19:11:42 UTC 2008


On Thu, Jan 31, 2008 at 09:09:21AM -0800, Arthur van Hoff wrote:
> Hi Kurt,
> 
> I'm taking the language out of an RSS feed (RFC766, which refers to ISO
> 639) and I'm trying to link it to a Human Language. I need to fill in
> the /user/cotton/default_domain/broadcast/language field. I can strip
> the local identifier and just use the 2 character language field.
> 
> Unfortunately it looks like the coverage of
> /language/human_language/iso_639_1_code is very minimal. Only 19 values
> are entered.
> 
> "query":[{
>     "type": "/language/human_language",
>     "name" : null,
>     "iso_639_1_code" : {"value":null},
>     "id": null
> }]
> 
> Can I convince someone to enter the full set? That way my script won't
> break each time it finds a new language...

We'll get to that ASAP, but in the meantime, you can download

http://www.ethnologue.com/14/iso639/all_639-1.tab 

to map 639-1 to 639-3 codes for lookup with MQL.

								Kurt :-)


 
> Have fun,
> 
>     Arthur van Hoff
> 
> > -----Original Message-----
> > From: developers-bounces at freebase.com [mailto:developers-
> > bounces at freebase.com] On Behalf Of Kurt Bollacker
> > Sent: Thursday, January 31, 2008 8:43 AM
> > To: For discussions about MQL,Freebase API and apps built on Freebase
> > Subject: Re: [Developers] language codes
> > 
> > 
> > On Thu, Jan 31, 2008 at 12:11:08AM -0800, Arthur van Hoff wrote:
> > > Hi,
> > >
> > >
> > >
> > > Has someone looked into updating the language codes for
> > > /language/human_language?
> > >
> > >
> > >
> > > I'm trying to link codes like "en-US" and "de-DE" to a human
> > language,
> > > but it looks like not all of them have been entered.
> > 
> > "en" and "de" are ISO 639-1 language codes.  Whe have most of those
> > codes, but 639-1 does not cover all of the worlds languages.  639-3
> > is
> > complete, and Freebase has over 99% coverage of those codes.
> > 
> > W3 format (RFC1766) of language codes includes the local specifier
> > (e.g. "en-US") as a combination of ISO 639 and ISO 3166 country
> > codes,
> > essentially forming a dialect.  Freebase does not currently have
> > those
> > directly, but they could convceivably be constructed from language
> > and
> > country codes.
> > 
> > What is it you need to do with the codes?
> > 
> > 								Kurt :-)
> > 
> > _______________________________________________
> > Developers mailing list
> > Developers at freebase.com
> > http://lists.freebase.com/mailman/listinfo/developers
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers


More information about the Developers mailing list