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

Support localization with different word order #2610

Open
Poobslag opened this issue Aug 19, 2024 · 0 comments
Open

Support localization with different word order #2610

Poobslag opened this issue Aug 19, 2024 · 0 comments
Labels
priority-4 This is less noticable. If we run out of other things to do, it's something to consider. technical debt Something which works fine now, but will create more work in the future

Comments

@Poobslag
Copy link
Owner

Currently we support English and Spanish which are both generally Subject-Verb-Object, and our sentences are simple enough that this always works:

Wow, you made %s cakes? Maybe you should be training me!

However for more complex cases and different languages which use Subject-Object-Verb, this ordering might vary from language. Instead of %s Godot also supports key/value pairs:

Wow you made {cake_count} cakes? Maybe you should be training me!

This is more flexible and lets localization teams vary the word order.

@Poobslag Poobslag added priority-4 This is less noticable. If we run out of other things to do, it's something to consider. technical debt Something which works fine now, but will create more work in the future labels Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-4 This is less noticable. If we run out of other things to do, it's something to consider. technical debt Something which works fine now, but will create more work in the future
Projects
None yet
Development

No branches or pull requests

1 participant