Bitcoin Forum
January 22, 2019, 06:06:09 PM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Please check language codes  (Read 248 times)
theymos
Administrator
Legendary
*
Offline Offline

Activity: 3276
Merit: 4700


View Profile
August 29, 2018, 01:34:26 AM
Merited by finaleshot2016 (1), Kpmaline (1)
 #1

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.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
1548180369
Hero Member
*
Offline Offline

Posts: 1548180369

View Profile Personal Message (Offline)

Ignore
1548180369
Reply with quote  #2

1548180369
Report to moderator
1548180369
Hero Member
*
Offline Offline

Posts: 1548180369

View Profile Personal Message (Offline)

Ignore
1548180369
Reply with quote  #2

1548180369
Report to moderator
PLAY NOW
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1548180369
Hero Member
*
Offline Offline

Posts: 1548180369

View Profile Personal Message (Offline)

Ignore
1548180369
Reply with quote  #2

1548180369
Report to moderator
mdayonliner
Copper Member
Sr. Member
****
Offline Offline

Activity: 406
Merit: 330


Bitcoin2 bounty info: https://discord.gg/MQnnpfk


View Profile
August 29, 2018, 09:14:00 AM
 #2

please check it to make sure that I got it right.

Manually checking all the board boards in Local section:

Türkçe (Turkish) board has...
Code:
<meta http-equiv="Content-Language" content="tr" />

Skandinavisk board has...
Code:
<meta http-equiv="Content-Language" content="da,no,sv" />

Română (Romanian) board has...
Code:
<meta http-equiv="Content-Language" content="ro" />

Pyccкий (Russian)
Code:
<meta http-equiv="Content-Language" content="ru" />

Português (Portuguese)
Code:
<meta http-equiv="Content-Language" content="pt" />

Polski
Code:
<meta http-equiv="Content-Language" content="pl" />

Philippines
Code:
<meta http-equiv="Content-Language" content="fl,en-PH" />

한국어 (Korean)
Code:
<meta http-equiv="Content-Language" content="ko" />

Nederlands (Dutch)
Code:
<meta http-equiv="Content-Language" content="nl" />

日本語 (Japanese)
Code:
<meta http-equiv="Content-Language" content="ja" />

Italiano (Italian)
Code:
<meta http-equiv="Content-Language" content="it" />

India
Code:
<meta http-equiv="Content-Language" content="hi,en-IN" />

Français
Code:
<meta http-equiv="Content-Language" content="fr" />

עברית (Hebrew)
Code:
<meta http-equiv="Content-Language" content="he" />

Eλληνικά (Greek)
Code:
<meta http-equiv="Content-Language" content="el" />

Deutsch (German)
Code:
<meta http-equiv="Content-Language" content="de" />

Hrvatski (Croatian)
Code:
<meta http-equiv="Content-Language" content="hr" />

中文 (Chinese)
Code:
<meta http-equiv="Content-Language" content="zh" />

Español (Spanish)
Code:
<meta http-equiv="Content-Language" content="es" />

Bahasa Indonesia (Indonesian)
Code:
<meta http-equiv="Content-Language" content="id" />

العربية (Arabic)
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 and assume the reason is - there are no specific language.

TryNinja
Hero Member
*****
Offline Offline

Activity: 896
Merit: 924


ChipMixer's Badge of Honor


View Profile
August 29, 2018, 01:16:38 PM
Last edit: August 29, 2018, 04:57:09 PM by TryNinja
Merited by Welsh (1)
 #3

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.

LeGaulois
Copper Member
Hero Member
*****
Offline Offline

Activity: 952
Merit: 942

Bitcoin Ninja Unregulated Banker Unbanking Folks


View Profile
August 29, 2018, 04:56:41 PM
Merited by Welsh (1)
 #4

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


theymos
Administrator
Legendary
*
Offline Offline

Activity: 3276
Merit: 4700


View Profile
August 29, 2018, 08:39:59 PM
 #5

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.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Pages: [1]
  Print  
 
Jump to:  

Bitcointalk.org is not available or authorized for sale. Do not believe any fake listings.
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!