Sarjuuk / aowow

Database viewer for TrinityCore based on aowow by @LordJZ, based on the JS-Engine of Wowhead
204 stars 217 forks source link

Problems with translation #420

Closed vahzxz closed 4 months ago

vahzxz commented 5 months ago

Describe the bug and how to reproduce it Hello, everyone. Russian Russian translation I translated almost the entire table of the article into Russian and indicated that the article is also for Russian. And when you log in, the system also shows that this article is available only in English

Screenshots image image

System: OS: win 10 PHP version: 8.2 Mysql: 5.7 AzerothCore: no

Sarjuuk commented 5 months ago

hm, should work.

can you check the footer of the page if it's cached? You need to be logged in as admin.

grafik

vahzxz commented 5 months ago

hm, should work.

can you check the footer of the page if it's cached? You need to be logged in as admin.

grafik

image image image

Sarjuuk commented 5 months ago

can't reproduce, i'm still certain it's some kind of caching issue.

https://github.com/Sarjuuk/aowow/blob/5c1e9747c6446db3d4d58aa1dc4f08c5f9a95403/pages/genericPage.class.php#L554-L556 the article gets selected here. Non-english locales first, because any other locale is > 0. And an articles does get fetched because you do see an article.

so yeah, no clue. It works for me.