We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No
Running transloco-keys-manager extract --sort does not sort the keys in the output file.
transloco-keys-manager extract --sort
The output looks like this for previously started project:
msgid "" msgstr "" "mime-version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" msgid "Toggle navigation" msgstr "" msgid "Help" msgstr "" msgid "Dashboard" msgstr "" msgid "OK" msgstr "" msgid "Cancel" msgstr "" msgid "Yes" msgstr "" msgid "No" msgstr "" msgid "Users" msgstr "" msgid "Do you really want to sign out?" msgstr ""
The keys/msgid should be sorted, e.g. like ngx-translate-extract is doing it.
ngx-translate-extract
https://github.com/aquarist-labs/s3gw-ui
module.exports = { rootTranslationsPath: 'src/assets/i18n/', langs: ['en_US'], keysManager: { fileFormat: 'pot', marker: 'TEXT', defaultValue: '' } };
No response
Transloco: 4.1.0 Transloco Keys Manager: 3.4.1 Angular: 13.3.11 Node: v16.15.1 Package Manager: OS: Ubuntu
The text was updated successfully, but these errors were encountered:
@votdev Please provide the expected result and the actual result. I don't understand the output you pasted.
Sorry, something went wrong.
Sure.
The current output looks like this (taken from above):
msgid "" msgstr "" "mime-version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" msgid "Toggle navigation" msgstr "" msgid "Help" msgstr "" msgid "Dashboard" msgstr "" msgid "OK" msgstr "" msgid "Cancel" msgstr ""
The expected result is this when using the --sort option.
--sort
msgid "" msgstr "" "mime-version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" msgid "Cancel" msgstr "" msgid "Dashboard" msgstr "" msgid "Help" msgstr "" msgid "OK" msgstr "" msgid "Toggle navigation" msgstr ""
@votdev so if I understand correctly it seems that the issue is occurring when using POT output format, can you confirm?
Yes
No branches or pull requests
Is there an existing issue for this?
Is this a regression?
No
Current behavior
Running
transloco-keys-manager extract --sort
does not sort the keys in the output file.The output looks like this for previously started project:
Expected behavior
The keys/msgid should be sorted, e.g. like
ngx-translate-extract
is doing it.Please provide a link to a minimal reproduction of the bug
https://github.com/aquarist-labs/s3gw-ui
Transloco Config
Debug Logs
No response
Please provide the environment you discovered this bug in
Additional context
No response
I would like to make a pull request for this bug
No
The text was updated successfully, but these errors were encountered: