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

Modernize translation infrastructure #75

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mvz
Copy link
Owner

@mvz mvz commented Sep 13, 2020

  • Use xgettext to extract translations from desktop file directly, avoiding the need to use intltool
  • Make git ignore translation build artifacts

Fixes #43

../alexandria.desktop.in.h: ../alexandria.desktop.in
intltool-extract --type=gettext/ini ../alexandria.desktop.in
@echo Updating PO template from desktop file
@xgettext --output=$(POT) --join-existing $(DESKTOP)
Copy link
Contributor

Choose a reason for hiding this comment

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

I think gettext doesn’t need _ tags in the .desktop file, right?

Copy link
Owner Author

Choose a reason for hiding this comment

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

You're right. I'm going to have to adjust the tasks in the main Rakefile as well.

@mvz mvz marked this pull request as draft September 13, 2020 12:50
@mvz mvz force-pushed the modernize-translation-infrastructure branch from ce33dd9 to 9531af8 Compare December 26, 2020 12:57
@mvz mvz force-pushed the modernize-translation-infrastructure branch from 9531af8 to 2cdbed1 Compare February 4, 2022 12:37
@mvz mvz force-pushed the modernize-translation-infrastructure branch 2 times, most recently from e815b19 to fadf62d Compare June 2, 2023 08:01
@mvz mvz force-pushed the modernize-translation-infrastructure branch from fadf62d to 1174f35 Compare August 15, 2023 13:32
@mvz mvz force-pushed the modernize-translation-infrastructure branch from 1174f35 to 381a88b Compare September 17, 2023 16:46
@mvz mvz force-pushed the modernize-translation-infrastructure branch 2 times, most recently from ca863cc to e5ac92a Compare February 4, 2024 10:13
- Use xgettext to extract translations from desktop file directly,
  avoiding the need to use intltool
- Make git ignore translation build artifacts
@mvz mvz force-pushed the modernize-translation-infrastructure branch from e5ac92a to 072678d Compare February 26, 2024 20:43
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.

Modernize i18n
2 participants