Aahan Krish
2014-02-20 16:35:58 UTC
Hello,
I'd like to create a language pack, en_IN i.e., Indian English, based on
the default WordPress language (en_US). All I need is the markup `en-IN` or
`en_IN` instead of the defaults (`en-US` or `en_US`) where appropriate.
For e.g.
<html lang="en-IN">
Instead of:
<html lang="en-US">
And, another instance:
<meta property="og:locale" content="en_IN">
instead of:
<meta property="og:locale" content="en_US">
So, what'd be the simplest way to create a language pack so that it has the
same translation string definitions as en_US, but outputs the right
language attribute values (`en-IN` or `en_IN` depending on the attribute)?
Thanks!
I'd like to create a language pack, en_IN i.e., Indian English, based on
the default WordPress language (en_US). All I need is the markup `en-IN` or
`en_IN` instead of the defaults (`en-US` or `en_US`) where appropriate.
For e.g.
<html lang="en-IN">
Instead of:
<html lang="en-US">
And, another instance:
<meta property="og:locale" content="en_IN">
instead of:
<meta property="og:locale" content="en_US">
So, what'd be the simplest way to create a language pack so that it has the
same translation string definitions as en_US, but outputs the right
language attribute values (`en-IN` or `en_IN` depending on the attribute)?
Thanks!