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

(Default Version) Automated loading of Translations on startup #19

Open
Tracked by #16
RedMser opened this issue May 4, 2024 · 0 comments
Open
Tracked by #16

(Default Version) Automated loading of Translations on startup #19

RedMser opened this issue May 4, 2024 · 0 comments
Labels
enhancement New feature or request version:default Specific to the Default version of the extension

Comments

@RedMser
Copy link
Owner

RedMser commented May 4, 2024

Forked version allows Project Settings to contain .ftl files like normal. This does not work for default builds, see #11.

There are code workarounds for loading translations, so it's probably fine. Maybe could introduce a helper function which recursively finds all *.ftl files in the project and loads them? Could optionally filter by locale, or path glob.

(This would also make .ftl files show in the translation picker dialog - no need to do anything else)

@RedMser RedMser changed the title ResourceFormatLoader for Translation on startup: there are code workarounds for loading translations, so it's probably fine. Maybe could introduce a helper function which recursively finds all .ftl files in the project and loads them? Could optionally filter by locale, or path glob. (Default Version) ResourceFormatLoader for Translation on startup May 4, 2024
@RedMser RedMser added enhancement New feature or request version:default Specific to the Default version of the extension labels May 4, 2024
@RedMser RedMser changed the title (Default Version) ResourceFormatLoader for Translation on startup (Default Version) Automated loading of Translations on startup May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request version:default Specific to the Default version of the extension
Projects
None yet
Development

No branches or pull requests

1 participant