louislam / uptime-kuma

A fancy self-hosted monitoring tool
https://uptime.kuma.pet
MIT License
60.02k stars 5.37k forks source link

Langage in status page #1643

Open darkstudio opened 2 years ago

darkstudio commented 2 years ago

⚠️ Please verify that this bug has NOT been raised before.

🛡️ Security Policy

Description

When we create a status page, the language is always English . How we can personalize the language of status page ? Regards

👟 Reproduction steps

create status page

👀 Expected behavior

choose language

😓 Actual Behavior

language is fixed to english

🐻 Uptime-Kuma Version

1.15.1

💻 Operating System and Arch

windows 10

🌐 Browser

Chrome, Brave, firefox

🐋 Docker Version

No response

🟩 NodeJS Version

No response

📝 Relevant log output

No response

karelkryda commented 2 years ago

You can change the language in the Uptime Kuma dashboard > Settings > Appearance

darkstudio commented 2 years ago

You can change the language in the Uptime Kuma dashboard > Settings > Appearance

No, you dont understand or not read correctly.

We can change language on dashboard when we are logged but we can't change language on STATUS PAGE , the language is ALWAYS in english.

agaitan026 commented 2 years ago

You can change the language in the Uptime Kuma dashboard > Settings > Appearance

No, you dont understand or not read correctly.

We can change language on dashboard when we are logged but we can't change language on STATUS PAGE , the language is ALWAYS in english.

correct, thats what im looking for, to change the status website language, is always english :(

tieb62 commented 2 years ago

We can change the language in the Dashboard and it will change on the Status page JUST FOR YOU, just when you are logged in, log out or go in private browsing window and it will still be in english

barart commented 2 years ago

I think this feature request can be done with this other: #2196

CommanderStorm commented 1 year ago

@darkstudio I cannot reproduce this issue (am I missing something?): image

When I switch both my OS and uptime-kuma to German, this works as intended (description is not translated as user-provided)

CommanderStorm commented 1 year ago

See https://github.com/cmandesign/uptime-kuma/blob/2aaed66b38b126406fb6f8b162cde5096a8d6b0c/src/i18n.js#L50 for further details

This means that this key controls the language of the frontend image