I created a web application using JSF framework. My application needs some text areas for convert the content into regional language. How it is possible to done by using google input?. or is there is any other scenario for typing with regional language?
Use unicode.js which is a small and easy to use javascript library to enable native input support in textfields. It uses Google Transliteration API combined with some javascript to enable unicode support in text input fields and textareas or anything where user can type in.
Related
I'm creating a voice input only ES5 application using a free speech to text service. The service will send user's speech transcript in their native language to my application.
How can i localize keywords in my application so that the user can use those keywords in their native language. I'm aware of the UI based localization where strings that are visible to user are localized but the underlying value for those ui elements have english values. But obviously this does not work for voice transcript where values are in user's native language.
Is there a way to achieve this without using a paid dynamic translation service?
In my application, I have a localized list of languages that is sent down from the server when the application loads.
The browser already contains a localized list of languages (you can see it by going to settings > languages > add a language in a chromium browser (see photo below).
Is there an API that will retrieve the same localized list of languages? I am trying to avoid managing additional localized text, if possible.
I have declared a set of supported langauges in my custom policy.
But what happens is, Microsoft implicitly convert some text and messages to other languages eventhough when i haven't decalred that langugae to be supportred.
(Eg) I haven't supported croatian language in my app, so when i pass croatian langauge in my query param, it should point to default language referred in the custom policy, Because croatian is in my unsupported langugaes list. what in reality some of the messages gets converted to croatian and shown in UI.
It is true. And Custom Policies out of the box supported language customization but support is limited to few fields/inputs/labels/messages. If your application support multi language then you can add your own customization.
(Eg) I haven't supported croatian language in my app, so when i pass croatian langauge in my query param, it should point to default language referred in the custom policy, Because croatian is in my unsupported langugaes list. what in reality some of the messages gets converted to croatian and shown in UI.
Update: Currently this is not possible and you need to limit supported languages from your application it self.
Typical Multi Language Scenario for a web/ native application (may be a workaround):
Web application show up the list of supported languages either in drop down or any user friendly way
Application will capture the locale from the customer selected language and append to the request URL.
If that locale is valid at B2C side it will start displaying Ux in that language
There is only 1% changes where customers can actually edit the Authorize URL to modify the locale. Your concern is still valid but based on above scenario itwill become less impact on your application.
If you would like to force the locale you can use the query string when requesting the B2C application.
?ui_locales={en}
Where you would replace {en} with the locale you support for more info see the offical docs
I have an XPages application which is available in 4 languages. I would like that each user can choose the language in which the application is presented to him. What is the best way of doing this? It seems to me that I need to set a user specific parameter but am not sure how to go about this. At the moment I use a scope variable to determine which language the application is displayed in. This scope variable is server specific so all users see the application in the same language. Now I would like the application to be presented in the langauge chosen by each user (although all users are accessing the application on the same server). In Notes this was possible by writing a value to the user .ini file. Is there an XPages equivalent of this?
The XPages Toolkit project has an Language bean that gives the options to set a specific language to an application or let the user decide.
http://www.openntf.org/main.nsf/project.xsp?r=project/XPages%20Toolkit
If you can't use the extension OSGI plugin checkout the java source on github
https://github.com/OpenNTF/XPagesToolkit
An implement what you need
I have created a JSF application where in to implement localization, I need to create separate property files for each locale. Is there any way that these can be generated dynamically or any means of reducing the effort to minimum. Google translator is not a option for me.
Update:
User A have stored Data-A in Hindi language in database, Some User B comes in from french, now i want my application to show Data-A to user B in language French.
Check this blog - http://www.mkyong.com/jsf2/jsf-2-internationalization-example/
MK Yong tries to explain what you might be looking for, with examples.
I don't know if this is what you were looking for, but hope it helps. Supporting muti locales are never easy. You end up having multiple views that support each locale.