-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Locale independence #28
Comments
danfickle
added a commit
that referenced
this issue
Jun 29, 2016
Text transformers are currently toUpper, toTitle and toLower.
The user can now specify custom text transformers. If using the rtl-support module for example they can use: Locale lc = Locale.US;
builder.useUnicodeToLowerTransformer(new ICUTransformers.ICUToLowerTransformer(lc));
builder.useUnicodeToUpperTransformer(new ICUTransformers.ICUToUpperTransformer(lc));
builder.useUnicodeToTitleTransformer(new ICUTransformers.ICUToTitleTransformer(lc)); Another example would be using another locale with the default transformers: Locale lc = Locale.FRANCE;
builder.useUnicodeToLowerTransformer(new TextUtil.DefaultToLowerTransformer(lc));
builder.useUnicodeToUpperTransformer(new TextUtil.DefaultToUpperTransformer(lc));
builder.useUnicodeToTitleTransformer(new TextUtil.DefaultToTitleTransformer()); |
danfickle
added a commit
that referenced
this issue
Jun 30, 2016
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
We don't want the situation where it works on the developer's machine and not on the server or vice versa because of different locales.
The text was updated successfully, but these errors were encountered: