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

mod_translation_updater.py: Add content title and description to template #2

Open
rubenwardy opened this issue Mar 3, 2024 · 2 comments
Labels
Feature request Issues that request the addition or enhancement of a feature @ Translation

Comments

@rubenwardy
Copy link
Member

Problem

As a content creator, I want mod/game titles and descriptions to be translated

Solution

As part of the extraction process, the mod_translation_updater.py script should also title and description from .conf into the template. It should probably read .conf for a textdomain if present

Additional context

https://api.minetest.net/translations/#translating-content-meta

@Desour Desour added Feature request Issues that request the addition or enhancement of a feature and removed Feature ✨ PRs that add or enhance a feature labels Mar 4, 2024
@rubenwardy
Copy link
Member Author

cc @Wuzzy2

@Zughy Zughy transferred this issue from minetest/minetest Jul 18, 2024
@rollerozxa
Copy link
Member

For the new .po translation format that we will likely primarily use the Gettext tools for, a script that will generate dummy gettext calls based on the content conf file that can then get populated by xgettext sounds like a ok idea, or if we have a wrapper script for generating and updating Minetest content translations using Gettext tools that does this in the background.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Issues that request the addition or enhancement of a feature @ Translation
Projects
None yet
Development

No branches or pull requests

3 participants