userXinos / HadesSpace

Project for the game Hades' Star - https://hadesstar.com/
https://userxinos.github.io/HadesSpace/
GNU Affero General Public License v3.0
28 stars 15 forks source link

Incorrect Text Formatting and Translation Issues on German Language Switch #34

Closed Vox314 closed 1 year ago

Vox314 commented 1 year ago

Description

On the webpage https://userxinos.github.io/HadesSpace/mining, when switching to the German language, the text does not format correctly. Words from one module spill over into another. Additionally, there are translation issues present.

Steps to Reproduce

  1. Navigate to https://userxinos.github.io/HadesSpace/mining
  2. Switch the language to German.

Expected Behavior

The text should format correctly with words contained within their respective modules. The translation should correctly display in German, and the page header should also translate to German.

Actual Behavior

The text formatting is incorrect with words from one module appearing in another. "Modules miniers", which is a French translation, appears in the German translation. The page header does not translate and remains in English.

Environment

Additional Information

Please see the attached screenshots for more context.\ Also I only randomly stumbled upon these issues; so this might also be the case on other pages of the site.

image image image image image
userXinos commented 1 year ago

Oh yes, support for other languages ​​other than English and Russian is extremely weak. Thank you for your detailed bug report, but the screenshot was more than enough.

Vox314 commented 1 year ago

Oh yes, support for other languages ​​other than English and Russian is extremely weak. Thank you for your detailed bug report, but the screenshot was more than enough.

Hahah, sorry; can't be too careful, also I suspect you just used google translate which actually did the job quite well but I was confused about why "Modules miniers" was french when having selected german. xD

userXinos commented 1 year ago

maybe it was my mistake. When I created the files I simply copied them and manually tried to keep all the localizations up to date for some time, yes, google translate

userXinos commented 1 year ago

I used GPTchat for translation, it seems it translated like in the game