Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.