Skip to content

Conversation

@yeager
Copy link
Contributor

@yeager yeager commented Oct 9, 2025

No description provided.

@UlrichB22
Copy link
Collaborator

Hi Daniel, thanks for your support.
I found some minor issues with your translation.

  • There is this fuzzy line in the header:

It prevents the compilation of your translation:

$ pybabel compile --statistics -l sv -d src/moin/translations/
757 of 757 messages (100%) translated in src/moin/translations/sv/LC_MESSAGES/messages.po
catalog src/moin/translations/sv/LC_MESSAGES/messages.po is marked as fuzzy, skipping
  • If you still have Babel 2.14 installed please update to a newer version.

  • Did you start with your translation before 2024-11-29? You need to run an update on your po file to get in sync with the MoinMoin.pot file:

pybabel update -l sv -i src/moin/translations/MoinMoin.pot -d src/moin/translations/ -w 116

You can check the result when you compare the header and the module linenumbers in the files

src/moin/translations/MoinMoin.pot and
src/moin/translations/sv/LC_MESSAGES/messages.po

  • After updating you need a little bit of rework for your translation: check and update the lines marked 'fuzzy' and remove the '#, fuzzy' comment. Also remove the block of comment lines at the end of your po-file, they are obsolet.

@yeager
Copy link
Contributor Author

yeager commented Oct 10, 2025

Hi Ulrich

Thanks for the input. This fuzzy string is autogenerated, see https://stackoverflow.com/questions/15653093/what-does-fuzzy-mean-at-the-top-of-a-xgettext-generated-pot-file

I have removed it and it compiles ok now.

$ pybabel compile --statistics -l sv -d src/moin/translations/
757 of 757 messages (100%) translated in src/moin/translations/sv/LC_MESSAGES/messages.po
compiling catalog src/moin/translations/sv/LC_MESSAGES/messages.po to src/moin/translations/sv/LC_MESSAGES/messages.mo

@UlrichB22 UlrichB22 merged commit 9522e1b into moinwiki:master Oct 10, 2025
9 checks passed
@UlrichB22
Copy link
Collaborator

Wiki admins need to compile the translation before it can be used:

pybabel compile -l sv -d src/moin/translations/

For details please see https://moin-20.readthedocs.io/en/latest/devel/translate.html#

@UlrichB22
Copy link
Collaborator

UlrichB22 commented Oct 21, 2025

@yeager, I updated the catalog and now there are a few missing translations:

753 of 764 messages (98%) translated in src/moin/translations/sv/LC_MESSAGES/messages.po

Can you please check my last changes and maybe update the missing strings? Thanks in advance.

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