Bitcoin Forum

Other => Meta => Topic started by: theymos on August 29, 2018, 01:34:26 AM



Title: Please check language codes
Post by: theymos on August 29, 2018, 01:34:26 AM
I added meta tags to most sections which specify the language. Like:
Code:
<meta http-equiv="content-language" content="hi,en-IN" />
In Firefox, you can see it by looking at "page info".

If you frequent a local section, please check it to make sure that I got it right. For example, the little bit of research I did made me think that "hi,en-IN" (Hindi & Indian-flavored English) is correct for the India section, but I'm not 100% sure about that.


Title: Re: Please check language codes
Post by: mdayonliner on August 29, 2018, 09:14:00 AM
please check it to make sure that I got it right.

Manually checking all the board boards in Local section:

Türkçe (Turkish) (https://bitcointalk.org/index.php?board=133.0) board has...
Code:
<meta http-equiv="Content-Language" content="tr" />

Skandinavisk (https://bitcointalk.org/index.php?board=45.0) board has...
Code:
<meta http-equiv="Content-Language" content="da,no,sv" />

Română (Romanian) (https://bitcointalk.org/index.php?board=108.0) board has...
Code:
<meta http-equiv="Content-Language" content="ro" />

Pyccкий (Russian) (https://bitcointalk.org/index.php?board=10.0)
Code:
<meta http-equiv="Content-Language" content="ru" />

Português (Portuguese) (https://bitcointalk.org/index.php?board=29.0)
Code:
<meta http-equiv="Content-Language" content="pt" />

Polski (https://bitcointalk.org/index.php?board=142.0)
Code:
<meta http-equiv="Content-Language" content="pl" />

Philippines (https://bitcointalk.org/index.php?board=219.0)
Code:
<meta http-equiv="Content-Language" content="fl,en-PH" />

한국어 (Korean) (https://bitcointalk.org/index.php?board=82.0)
Code:
<meta http-equiv="Content-Language" content="ko" />

Nederlands (Dutch) (https://bitcointalk.org/index.php?board=79.0)
Code:
<meta http-equiv="Content-Language" content="nl" />

日本語 (Japanese) (https://bitcointalk.org/index.php?board=252.0)
Code:
<meta http-equiv="Content-Language" content="ja" />

Italiano (Italian) (https://bitcointalk.org/index.php?board=28.0)
Code:
<meta http-equiv="Content-Language" content="it" />

India (https://bitcointalk.org/index.php?board=89.0)
Code:
<meta http-equiv="Content-Language" content="hi,en-IN" />

Français (https://bitcointalk.org/index.php?board=13.0)
Code:
<meta http-equiv="Content-Language" content="fr" />

עברית (Hebrew) (https://bitcointalk.org/index.php?board=95.0)
Code:
<meta http-equiv="Content-Language" content="he" />

Eλληνικά (Greek) (https://bitcointalk.org/index.php?board=120.0)
Code:
<meta http-equiv="Content-Language" content="el" />

Deutsch (German) (https://bitcointalk.org/index.php?board=16.0)
Code:
<meta http-equiv="Content-Language" content="de" />

Hrvatski (Croatian) (https://bitcointalk.org/index.php?board=201.0)
Code:
<meta http-equiv="Content-Language" content="hr" />

中文 (Chinese) (https://bitcointalk.org/index.php?board=30.0)
Code:
<meta http-equiv="Content-Language" content="zh" />

Español (Spanish) (https://bitcointalk.org/index.php?board=27.0)
Code:
<meta http-equiv="Content-Language" content="es" />

Bahasa Indonesia (Indonesian) (https://bitcointalk.org/index.php?board=191.0)
Code:
<meta http-equiv="Content-Language" content="id" />

العربية (Arabic) (https://bitcointalk.org/index.php?board=241.0)
Code:
<meta http-equiv="Content-Language" content="ar" />

Crosscheck done and all the local boards1 has its desired language codes.


1 Could not find any language code on Other languages/locations (https://bitcointalk.org/index.php?board=11.0) and assume the reason is - there are no specific language.


Title: Re: Please check language codes
Post by: TryNinja on August 29, 2018, 01:16:38 PM
I'm not sure if that should matter, but for the Portuguese one, you could use "pt,pt-BR" since there are a lot of differences between the Portuguese and Brazillian Portuguese languages while both are quite used in the board.


Title: Re: Please check language codes
Post by: LeGaulois on August 29, 2018, 04:56:41 PM
Similar case with TryNinja, however, the difference is much smaller than the PT from Portugal than PT from Brazil...

Content-Language: fr
Content-Language: fr-FR
Content-Language: fr-BE
Content-Language: fr-CA



Title: Re: Please check language codes
Post by: theymos on August 29, 2018, 08:39:59 PM
I'm not sure if that should matter, but for the Portuguese one, you could use "pt,pt-BR" since there are a lot of differences between the Portuguese and Brazillian Portuguese languages while both are quite used in the board.
Similar case with TryNinja, however, the difference is much smaller than the PT from Portugal than PT from Brazil...

Content-Language: fr
Content-Language: fr-FR
Content-Language: fr-BE
Content-Language: fr-CA



Done, thanks.