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

when the chosen language is a right-to-left language(Persian in my case) the placement of elements inside the 2D scene editor is different from when the project is run #97893

Open
Kourosh05 opened this issue Oct 6, 2024 · 0 comments · May be fixed by #97918

Comments

@Kourosh05
Copy link

Tested versions

Reproducible in: v4.3.stable.official [77dcf97] and v4.2.stable.official [46dc277]. pretty sure in earlier versions as well

System information

windows 10, i5 9400F, GT 1030 driver version: 31.0.15.3623

Issue description

when the editor is in a RTL language(Persian in this instance) while the UI flips as it should(the scene tree moving to right and so on) the elements inside the scene editor also flip horizontally meaning when you put a node on the left side of the screen you're actually putting it on the right side, which you can see when you run the project you're working on.
Screenshot (168)
Screenshot (170)
additionally the problem also includes control nodes; when using any type of placement option offered by control nodes whether in the inspector or top of the scene editor(anchor presets, container sizing, etc...) they will work oppositely.
take into account that I've only tested 2D and while not completely sure i believe the problem also affects 3D to some degree.
keep in mind that this is a seriously huge problem, rendering the engine borderline unusable in RTL languages.

Unrelated note: if you're translating the engine to Persian or are interested in doing so please contact me in discord: kushyar.n

Steps to reproduce

change the language to Persian and place the Godot logo on the left side of editor, then run the project.

Minimal reproduction project (MRP)

N/A

@timothyqiu timothyqiu self-assigned this Oct 7, 2024
@timothyqiu timothyqiu linked a pull request Oct 7, 2024 that will close this issue
@timothyqiu timothyqiu removed their assignment Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants