Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTL Status page #3487

Closed
2 tasks done
ahmadta721 opened this issue Jul 27, 2023 · 4 comments · May be fixed by #3523
Closed
2 tasks done

RTL Status page #3487

ahmadta721 opened this issue Jul 27, 2023 · 4 comments · May be fixed by #3523
Labels

Comments

@ahmadta721
Copy link

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

  • I checked and didn't find similar issue

🛡️ Security Policy

📝 Describe your problem

Hello
I'm having trouble displaying the status page. If the descriptions and names of the monitors are written in right-to-left languages ​​(RTL). The status page is defined from left to right.
It will be displayed correctly only if the admin is logged in and the Uptime-Kuma language is defined as (right to left).
In fact, the status page is supposed to be displayed to others, which is not displayed correctly.

📝 Error Message(s) or Log

No response

🐻 Uptime-Kuma Version

1.22.1

💻 Operating System and Arch

Ubuntu 22.04.2

🌐 Browser

Google Chrome 115.0.5790.110

🐋 Docker Version

No response

🟩 NodeJS Version

No response

@CommanderStorm
Copy link
Collaborator

CommanderStorm commented Jul 27, 2023

Could you provide a screenshot of said difference?

I would also like to know this information:

  • what language is your browsser/OS set to
  • What language is uptime-kuma set to
  • What is the Monitor name (both in the screenshot mentoned above and as text to be able to copy-paste it and reproduce the issue)

@ahmadta721
Copy link
Author

Hi!

what language is your browsser/OS set to » English
What language is uptime-kuma set to » Persin (farsi)
What is the Monitor name (both in the screenshot mentoned above and as text to be able to copy-paste it and reproduce the issue) » English because it is known as web page. https://my_domain/status/name
when status page name changed to persian » We encounter the invalid slug error message.

Screen Shots»
not ok
ok

@CommanderStorm
Copy link
Collaborator

Ah now I see.
Currently, it is not possible to select the language of a specific status page
See #2196 #1643 and #2784 for further details

The status page will always try to mach the language of the system it is running on from my experiments

you can set localStorage.locale to fa which makes the webpage right-aligned:
image

@CommanderStorm
Copy link
Collaborator

PRs for the other issues mentioned above always welcome, here is our contribution guide: https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md

=> this issue can be closed as having more duplicates for these features only creates the risk of creating immortal zombies ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants