You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No, not related to a problem. But finding all the strings in the code is complicated.
Describe the solution you'd like
A set of external files (one per language) that contains the strings and some additional metadata (translators, is RTL language, language name and language id).
As file type ini, json or resx/resw might be good.
All places that require a translated string call a function that does the following:
Check if a language file exist for the current Windows Ui language.
If yes: Use it.
If no: Fall back to English.
Check the language file for the translated string.
If exists: Use it.
If not exists: Fall back to English.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered:
htcfreek
changed the title
[FEATURE PROPOSAL] Make translation easier by moving all string to a json or ini
[FEATURE PROPOSAL] Make translation easier by moving all strings to a json, ini or resx/resw file
Jul 7, 2024
This looks like a good enhancement. I'm currently working on adding stub preferences for AppX packages but, meanwhile, I'm also looking at how other projects do that (since I know nothing about localization with RESX files)
This looks like a good enhancement. I'm currently working on adding stub preferences for AppX packages but, meanwhile, I'm also looking at how other projects do that (since I know nothing about localization with RESX files)
An AutoIt project (WhyNotWin11 from RCMahel) uses ini files.
Fir resx examples you might look at PowerToys or Window Terminal from Microsoft.
Is your feature request related to a problem?
No, not related to a problem. But finding all the strings in the code is complicated.
Describe the solution you'd like
A set of external files (one per language) that contains the strings and some additional metadata (translators, is RTL language, language name and language id).
As file type ini, json or resx/resw might be good.
All places that require a translated string call a function that does the following:
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: