WordPress.org

Making WordPress.org

Opened 6 years ago

Closed 5 years ago

Last modified 4 years ago

#198 closed defect (fixed)

WordPress.org home page language detection

Reported by: ryanhellyer Owned by:
Milestone: Priority: normal
Component: General Keywords:
Cc:

Description

WordPress.org is not detecting my language correctly and displays an odd message:
http://stuff.ryanhellyer.net/dotorgbug1.png
http://stuff.ryanhellyer.net/dotorg.png

It appears to be detecting that I use Norwegian Bokmål, but it isn't displaying a the string inside the link. Here is the code which displays in the page:
<div id="lang-guess">WordPress is also available in <a href='http://nb.wordpress.org/'></a>.</div>

Change History (14)

#1 @samuelsidler
6 years ago

... That's a really old version of wordpress.org, given the header. What page are you viewing?

#2 @Otto42
6 years ago

The "nb" entry is in the rosetta "locales" table, but not in the "languages" table, which is why this happens for that particular entry.

I don't see any reason that I could not just add the entry for it to languages, but I might not know everything in this respect. @nacin any opinions?

This ticket was mentioned in IRC in #wordpress-meta by sams. View the logs.


5 years ago

This ticket was mentioned in Slack in #meta by otto42. View the logs.


5 years ago

#5 follow-up: @nacin
5 years ago

I can't find a single place where languages is or was ever populated by Rosetta or another script.

I wonder how many other languages are missing.

#6 in reply to: ↑ description @scottbasgaard
5 years ago

Would be great to get this one fixed for users in Norway.

@Otto / @Nacin did you find any other languages missing?

#7 @scottbasgaard
5 years ago

  • Cc sbasgaard@… added

#8 in reply to: ↑ 5 ; follow-up: @ocean90
5 years ago

Replying to nacin:

I wonder how many other languages are missing.

Current languages (124):

slug name
af Afrikaans
als Alemannisch
ar العربية
arc ܕܥܒܪܸܝܛ
as অসমীয়া
ast Asturianu
av Авар
ay Aymar
az Azərbaycan
ba Башҡорт
be Беларуская
bg Български
bm Bamanankan
bn বাংলা
bo བོད་ཡིག
br Brezhoneg
bs-ba Bosanski
ca Català
ce Нохчийн
cs Česky
csb Kaszëbsczi
cv Чӑваш
cy Cymraeg
da Dansk
de Deutsch
dv ދިވެހިބަސް
dz ཇོང་ཁ
el Ελληνικά
en English
eo Esperanto
es Español
et Eesti
eu Euskara
fa فارسی
fi Suomi
fo Føroyskt
fr Français
fur Furlan
fy Frysk
ga Gaeilge
gd Scots Gaelic
gl Galician
gn Avañeẽ
gu ગુજરાતી
he עברית
hi हिन्दी
hr Hrvatski
hu Magyar
ia Interlingua
id Bahasa Indonesia
ii ꆇꉙ
is Íslenska
it Italiano
ja 日本語
jv Basa Jawa
ka ქართული
km ភាសាខ្មែរ
kn ಕನ್ನಡ
ko 한국어
ks कश्मीरी - (كشميري)
ku Kurdî / كوردي
kv Коми
la Latina
li Limburgs
lo ລາວ
lt Lietuvių
lv latvie&scaron;u valod&#257;
mk Македонски
ml മലയാളം
mr &#2350;&#2352;&#2366;&#2336;&#2368;&#32;&#77;&#97;&#114;&#257;&#7789;&#104;&#299;
ms Bahasa Melayu
nah Nahuatl
nap Nnapulitano
nds Plattdüütsch
ne Nepali
nl Nederlands
nn Norsk (nynorsk)
no Norsk (bokmål)
non Norrǿna
nv Diné bizaad
oc Occitan
or ଓଡ଼ିଆ
os Иронау
pa ਪੰਜਾਬੀ
pl Polski
ps پښتو
pt Português
pt-br Português do Brasil
qu Runa Simi
ro Română
ru Русский
sc Sardu
sd सिनधि
si Sinhala
sk Slovenčina
sl Slovenščina
so Somali
sq Shqip
sr Српски
su Basa Sunda
sv Svenska
ta தமிழ்
te తెలుగు
th ไทย
tl Tagalog
tr Türkçe
tt Tatarça
ty Reo Mā`ohi
udm Удмурт
ug ئۇيغۇرچە
uk Українська
ur اردو
uz O&lsquo;zbek tili
vec Vèneto
vi Tiếng Việt
wa Walon
xal Хальмг
yi ייִדיש
za (Cuengh)
zh 中文
zh-cn 中文(简体)
zh-hk 中文(繁體)
zh-sg 中文(简体)
zh-tw 中文(繁體)

The current list of locales (140) can be found at GlotPress or Polyglots Teams page.

@scottbasgaard Seems like nb would be the same as no => Norsk (bokmål), is that right?

#9 in reply to: ↑ 8 @scottbasgaard
5 years ago

@scottbasgaard Seems like nb would be the same as no => Norsk (bokmål), is that right?

Yup, that will do it.

This ticket was mentioned in Slack in #polyglots by ocean90. View the logs.


5 years ago

This ticket was mentioned in Slack in #polyglots by ocean90. View the logs.


5 years ago

#12 @scottbasgaard
5 years ago

Looks good now :)

#13 @ocean90
5 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Closing as fixed for now.

If another language is missing, feel free to re-open.

This ticket was mentioned in Slack in #meta by ocean90. View the logs.


4 years ago

Note: See TracTickets for help on using tickets.