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

Preserving comments from po files when syncing #439

Open
ptbrowne opened this issue May 30, 2024 · 0 comments
Open

Preserving comments from po files when syncing #439

ptbrowne opened this issue May 30, 2024 · 0 comments

Comments

@ptbrowne
Copy link

Hey,

I've just integrated Accent in an existing project where I use lingui for i18n. When extracting locale messages to PO translation files, Lingui automatically adds comments for the file location. It seems like right now those comments are not preserved after import and sync.

I imported the existing translation files via the UI, via Files -> Sync. And then I pulled the translations via accent sync --add-translations.

This information could be useful for translators to know a bit better the context of what they are translating. It would also be useful when pulling back the translated files so that those comments are not stripped out.

I have seen that comments have been added to the UI, so maybe there is not much to do so they are preserved while exporting ? Or did I miss something.

Thanks for Accent !

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