Skip to content

Conversation

@j123b567
Copy link

@j123b567 j123b567 commented Feb 15, 2021

I just did it differently then in the wiki page https://github.com/udda/multiload-ng/wiki/HowTo:-Translations

In this place, .ui file extension just don't work for me - they don't appear in the .pot nor .po file, so I have created symlinks for .ui files to .glade and rename them also in POTFILES.in like

...
data/preferences_gtk2.glade
data/preferences_gtk3.glade
...

Then running following commands generated correct empty locale.

./autogen.sh
./configure
cd po/
msginit --locale cs_CZ.utf8
make update-po

After translation, I simply call

make

and correct .gmo file is generated.

I then just manualy replace all .glade.h to .ui.h in the .po file, so it corresponds with project naming.

I don't know, if it is just my problem so I don't want to create PR with this change.

@j123b567 j123b567 changed the title Feature/czech translation Czech translation Feb 15, 2021
@j123b567 j123b567 changed the title Czech translation WIP: Czech translation Feb 15, 2021
@j123b567 j123b567 force-pushed the feature/czech-translation branch from f4fb50d to e8f97c7 Compare February 15, 2021 12:39
@j123b567 j123b567 changed the title WIP: Czech translation Czech translation Feb 15, 2021
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.

1 participant