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

Translation system #779

Open
yeager opened this issue Jan 25, 2025 · 0 comments
Open

Translation system #779

yeager opened this issue Jan 25, 2025 · 0 comments

Comments

@yeager
Copy link

yeager commented Jan 25, 2025

The translations are possible to do but no loading system for the .qm files are in place.

mkdir src/translations
cd src/translations
lupdate ../../src -tr-function-alias QT_TRANSLATE_NOOP+=TRANSLATE,QT_TRANSLATE_NOOP+=TRANSLATE_SV,QT_TRANSLATE_NOOP+=TRANSLATE_STR,QT_TRANSLATE_NOOP+=TRANSLATE_FS,QT_TRANSLATE_N_NOOP3+=TRANSLATE_FMT,QT_TRANSLATE_NOOP+=TRANSLATE_NOOP,translate+=TRANSLATE_PLURAL_STR,translate+=TRANSLATE_PLURAL_FS -ts fceux_empty.ts

This would produce the Qt .ts file with 2015 strings which you can translate and compile to a .qm file. However, no loading system for the .qm files exists yet.

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

No branches or pull requests

1 participant