Jump to content

ISO codes?


pouncer

Recommended Posts

No, there is no such thing as fr-gb or es-de or ja-fr or whatever...

 

Or perhaps you're looking for the IETF language code and not ISO? It has the syntax you are requesting... first a required ISO-639(-1) language code optionally followed by a dash and a ISO-3166 country code. It's mentioned in RFC 2612 Section 3.10 Language Tags and in the HTML specification.

Link to comment
https://forums.phpfreaks.com/topic/65674-iso-codes/#findComment-328293
Share on other sites

Thanks but theres something i don't understand

 

en-gb

 

that means, english-great britain?

 

so we specfiy like this?

 

language-country

 

so is it possible to have

 

fr-gb

 

french/great britain?

 

i'm a bit confused about the syntax and stuff guys!

 

When you have a ISO code xx-yy, the first two are the abbreviation for the name of the language, and the second two is an abbreviation for the country that particular dialect is used in. In the case of English, there's en-us and en-gb, since they're two different "forms" of the English language, one in the US and one in Great Britain.

Link to comment
https://forums.phpfreaks.com/topic/65674-iso-codes/#findComment-328581
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.