-
Notifications
You must be signed in to change notification settings - Fork 15
Add Selected gettext method for instant translation #23
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
base: master
Are you sure you want to change the base?
Conversation
doc/developer.md
Outdated
@@ -36,6 +36,14 @@ string to be translated has singular and plural forms. For example: | |||
-- The second `count` is the actual replacement. | |||
print(NS("You have one item.", "You have @1 items.", count, count)) | |||
|
|||
The `SS` and `SNS` are equivalent to `S` and `SNS` respectively, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo, should be NS
.
I don't know if I like this. It can never be fully functional -- there are only a few things that can be translated dynamically. |
Sorry for the wrong word (word and no world) at commit.
I think that there are only a few things that can not be translated dynamically. |
This allows you to select the language of the translated string.
Can you test with intltest.
Referenced Issue