-
Notifications
You must be signed in to change notification settings - Fork 603
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
Feature suggestion: psuedolocalisation injection #769
Comments
@jacalata Did you get any further with implementing a pseudo localization bundle? Ideally, globalize would support the |
No, I ended up finding a solution through our localization vendor software.
…On Mon, Jan 15, 2018 at 4:49 AM, William Holmes ***@***.***> wrote:
@jacalata <https://github.com/jacalata> Did you get any further with
implementation a pseudo localization bundle?
I was hoping to start implementing something similar to check i any string
are concatenated or hard coded etc.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#769 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB6qeBJDTSWNGq_sJqv00zt-Vvx3kcYzks5tK0lAgaJpZM4O51Ba>
.
|
@rxaviers I would have thought a pseudo build would be a common use case for large application builds/process. Is there any future plans or suggestions what we might do until then? I was looking as strong-globalize but I don’t want to change dependencies. Thanks. |
It's not clear to me why this should be inside globalize instead of an independent process, e.g., |
I am thinking of writing a feature that would allow me to pass in a function to use on any string to pseudolocalize it (probably using /bunkat/pseudoloc), and then would (handwave) wrap the messageFormat functions for one or more locales in this function before returning them (maybe here https://github.com/globalizejs/globalize/blob/master/src/message/formatter-runtime-bind.js#L38)
Use case: I want to generate pseudoloc files on build and be able to just switch to a language I don't expect to support (e.g mongolian) to see my app in pseudo. Before I start working on this, I thought I'd check
a) is this achievable today without changing the library?
b) are there similar/different existing plans to enable pseudoloc?
my planned functionality
setup will add this call:
messages..js will return
so in my code I will have
The text was updated successfully, but these errors were encountered: