Add-on with only .mo files, how to update?

Discuss and coordinate development of mainline and user-made content translations.

Moderator: Forum Moderators

Post Reply
User avatar
Atreides
Posts: 1074
Joined: March 30th, 2019, 10:38 pm
Location: On the 2nd story of the centre village of Merwuerdigliebe turning the lights on and off

Add-on with only .mo files, how to update?

Post by Atreides »

If you have downloaded an add-on that has existing translations but they are all saved as .mo files only is there any way to update those .mo files if only a small update is required because a little of the original text changed?

wmlgettext will make a new raw .pot file but that's starting from 0.

Is there a program that'll convert .mo back into .po?
gnombat
Posts: 706
Joined: June 10th, 2010, 8:49 pm

Re: Add-on with only .mo files, how to update?

Post by gnombat »

Atreides wrote: December 18th, 2021, 12:11 am If you have downloaded an add-on that has existing translations but they are all saved as .mo files only is there any way to update those .mo files if only a small update is required because a little of the original text changed?

wmlgettext will make a new raw .pot file but that's starting from 0.

Is there a program that'll convert .mo back into .po?
I believe msgunfmt will do that.
User avatar
Atreides
Posts: 1074
Joined: March 30th, 2019, 10:38 pm
Location: On the 2nd story of the centre village of Merwuerdigliebe turning the lights on and off

Re: Add-on with only .mo files, how to update?

Post by Atreides »

Thanks! It was part of gettext all along, I had no idea it was already installed.
Post Reply