Skip to content

Add export-translation script - #1991

Open
ajparsons wants to merge 5 commits into
masterfrom
translation-export-helper
Open

Add export-translation script#1991
ajparsons wants to merge 5 commits into
masterfrom
translation-export-helper

Conversation

@ajparsons

Copy link
Copy Markdown
Contributor

Quick LLM-assisted export tool to make working with translations a bit easier:

  • Easier csv export to make back and forth with heloblod easier.
  • Flag translations we've marked as auto (which feels like a good compromise to keep things going with small tweaks while doing updates in batches)

- Easier csv export to make back and forth with heloblod easier.
- Flag translations we've marked as auto.
@ajparsons
ajparsons requested a review from struan February 23, 2026 11:22

@struan struan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I export and import it seems to introduce a lot of additional msgid "" and equivalent msgstr lines on anything that's a multiline string which I'm not sure is helpful and produces diffs that are hard to follow.

The json path seems to work, the csv side not so much. And modulo the above it seems to work fine.

Comment thread src/twfy_tools/utils/manage_translation.py
Comment thread src/twfy_tools/utils/manage_translation.py
Comment thread src/twfy_tools/utils/manage_translation.py
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

Successfully merging this pull request may close these issues.

2 participants