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

Fix: add .mo extension to PO translation behavior #561

Merged
merged 1 commit into from May 12, 2024

Conversation

Selenyhr
Copy link
Contributor

@Selenyhr Selenyhr commented May 6, 2024

When using gettext translations, Godot supports both .po and .mo files.

When guessing for a translation source, Dialogue Manager did not consider sources that ended in .mo as gettext sources. So the lines were not translated, and only the translation key was displayed.

This PR adds the auto-guessing for .mo files.

@nathanhoad nathanhoad merged commit f875654 into nathanhoad:main May 12, 2024
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.

None yet

2 participants