-
Notifications
You must be signed in to change notification settings - Fork 11
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 format tag to .pot: #, java-format #22
Comments
scala-xgettext doesn't enforce a specific text format. |
Do you have a proposal how to automatically add that info? |
Perhaps an optional tag parameter at the end of the method name configuration? scalacOptions += "-P:xgettext:t:tf:c-format" This would cause all strings extracted from calls to the |
I guess that's the best we can do. Note that there are several existing options, as listed in README: |
The current implementation doesn't seem to add the
#, java-format
flag as documented here:https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html#The-Format-of-PO-Files
Tools like Poedit understand this flag and displays it to translators:
Translation tools may also use this to validate that all placeholders are used in the translation, and that they are syntactically well formed.
The text was updated successfully, but these errors were encountered: