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

[Engine] Provide localization system for episodes #284

Closed
1 task
Wohlstand opened this issue Mar 11, 2019 · 1 comment
Closed
1 task

[Engine] Provide localization system for episodes #284

Wohlstand opened this issue Mar 11, 2019 · 1 comment
Assignees
Labels
enhancement In-Engine GUI Built-in Engine GUI related tasks / issues. Priorty - low Task with a low priority, optional, or planned to do for the some future time.

Comments

@Wohlstand
Copy link
Member

Wohlstand commented Mar 11, 2019

Since SMBX exists, it was stuck on ASCII and English language for in-game texts and UI labels. PGE Engine introduces the ability to make the full localization of UI where is possible to translate any UI label. However, episodes are still non-translatable.

My idea is next:

  • Make the lupdate-like utility that will scan all levels and world maps (also, maybe scan lua-scripts for tr() call usage?) in the episode
  • This utility can create a set of Qt-Linguist compatible .ts files (or, maybe use a different format which would be human-editable without additional tools?) are will contain files as "context" and in-game strings as source strings. Means, single TS file for the entire episode.
  • For the case of .ts, those files can be compiled by regular lrelease utility into .qm (or can be exported from Qt Linguist) are will be used in runtime.
  • For the case of human-editable translation files, load them as-is to allow easier testing of the stuff in a place (make translation loading on each level/world reload for hot replace support)
  • Anyway, for convenience, ship Qt Linguist itself with Moondust Devkit to allow in-place editing of translations without requiring to download it separately.
@Wohlstand Wohlstand added enhancement In-Engine GUI Built-in Engine GUI related tasks / issues. Priorty - low Task with a low priority, optional, or planned to do for the some future time. labels Mar 11, 2019
@Wohlstand Wohlstand self-assigned this Mar 11, 2019
@Wohlstand
Copy link
Member Author

This task got been replaced with a new #559. The original (this) idea wasn't seems good, there is alternative idea got been approved and there are on-going works that implements the new thing.

@Wohlstand Wohlstand closed this as not planned Won't fix, can't repro, duplicate, stale Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement In-Engine GUI Built-in Engine GUI related tasks / issues. Priorty - low Task with a low priority, optional, or planned to do for the some future time.
Projects
None yet
Development

No branches or pull requests

1 participant