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

Add full translation support #2

Open
tfuxu opened this issue Sep 14, 2024 · 1 comment
Open

Add full translation support #2

tfuxu opened this issue Sep 14, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@tfuxu
Copy link
Owner

tfuxu commented Sep 14, 2024

There is no translation template file (.POT) available currently, because I haven't got gettext to work with strings defined in code. I've generated a preliminary template file with most of the UI strings available, you can find it here: po/floodit.pot

Investigate if we can use gotext to get the same translation workflow as in Halftone.

@tfuxu tfuxu added the enhancement New feature or request label Sep 14, 2024
@tfuxu tfuxu pinned this issue Sep 19, 2024
@tfuxu tfuxu added the help wanted Extra attention is needed label Sep 19, 2024
@tfuxu tfuxu changed the title Add translation support Add full translation support Oct 5, 2024
@tfuxu tfuxu unpinned this issue Oct 5, 2024
@yakushabb
Copy link
Contributor

The translator-credits string should be translatable to add translator credits.

https://github.com/tfuxu/floodit/blob/master/src/views/about/about_dialog.go#L30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants