Why does Facebook Messenger API chat atuomatically switch languages? - api

Seems like nobody refers to this kind of problem, but actually I hope it's not a rare case.
I created The Messenger API chat on Facebook business. Default language is English. I copied and pasted the code to the determined website and for a few days everything was ok. Then the chat switched language to a slavic language with the Cyrillic alphabet. Few days later it went back to English and now again it is in Cyrillic alphabet.
Anyone knows what is going on?

Related

Google Detecting Japanese as English in voice recognition

I have created a voice controlled android application. I am giving option to change the locale to Japanese with English being the default one.
The Japanese TTS works perfectly fine. But when the voice recognition comes into picture, the Japanese words are recognized as English words and hence matched with the English words for possible match. Here, the mismatch occurs and hence my problem.
Is there any way google supports Japanese voice recognition.
Adding this if someone else finds this post helpful:
After months of RnD, I found another more accurate offline voice recognition engine i.e Julius. its hard to configure, yet the results are far better than google.
Providing the link below:
https://github.com/tech-sketch/JuliusForAndroid

Adding localization with language identifier to an ipad app

I'am coding an iPad app using Xcode. I use Base Internationalization for Storyboards.
So far, I have successfully added many languages, French, English, Spanish.
When trying to add Romanian using Xcode, the process is exactly the same, except the proposed language code is a little bit longer: ro-RO, where French is fr and English en and Splanish es.
No problem so far.
When running the app on the iDevice, I change the system language to Romanian, but my app will keep the last language set, whatever I do.
I suspected something about the longer language code. I've been using git diff to figure out what changes Xcode makes to project files when adding a language support. I see nothing anormal.
I noticed the same with Portugese, wich is pt-PT, so I think the bug has something to do with locales containing a language identifier (_XX).
I suspect that XCode supports language-country codes, even though iOS devices can only work with language codes. The easiest way to fix this I think is to close XCode and go to the Finder, and change the folders "pt-PT.lproj" to "pt.lproj" and "ro-RO.lproj" to "ro.lproj" etc.
Also see this related question: Cannot load country-specific resource

Languages other than English in iTunesConnect

We have an app in the US app store, which we want our users to be able to find in Hebrew as well. so we want them to be able to search for the app name in English or Hebrew and still find it.
Turns out entering keywords in Hebrew doesn't work, ie searching for these keywords in Hebrew in the US store returns no results.
Does the US not support search in Hebrew, or do we need to add Hebrew as a language in the app's metadata in iTunes connect?
Searching in the appStore (in your case US) will of course only bring results in that language (English for now).
If you want it to be available in Hebrew then you will have to put it into the related appStore, while you don't have to translate you whole app into Hebrew except you want your users to have that translation as well.
Hope I could help ;)

What are the available languages for Google Spell?

https://www.google.com/tbproxy/spell?lang=???
I would like to know what language codes (like "en","de","fr"...) could be substituted for ???. I am looking for all of them.
According to Google, the following are the supported languages:
Danish
Dutch
English
Finnish
French
German
Italian
Polish
Portuguese (BR)
Russian
Spanish
Swedish
I'm sure you can extrapolate the two letter codes.
Don't be surprised if you try other languages and they work as well - it's typical for Google to beta test stuff like this live without letting anyone know. You could also install the toolbar and see if any other new languages show up.

Google suggest API does not work with Chinese locale

I have a problem with Google suggest API when using Chinese locale. I am picking Chinese hieroglyphs at random and use the REST API to retrieve suggestions. Unfortunately, Google always return an empty list of suggestions (I am completely sure, that I convert my request in utf-8, and it is working fine with other languages, ex. Russian):
Sample request:
http://suggestqueries.google.com/complete/search?qu=%E9%80%9F
Google answer:
window.google.ac.h(["速",[]])
Does anyone know how to retrieve suggestions for Chinese locale? Maybe I am missing some flags or something? Maybe there is an official document from Google, saying that Chinese is not supported? And are there any people from China, using Google toolbar? Does it really work? I'd appreciate any help!
If it matters, I am writing a simple WinAPI application, using C++...
http://googleblog.blogspot.com/2009/03/local-flavor-for-google-suggest.html says, at the bottom, that google suggest now supports "155 domains in 51 languages." This implies a possible solution, which is that you need to use the relevant domain.
http://suggestqueries.google.cn/complete/search?qu=%E9%80%9F
gives me
window.google.ac.h(["速",[["速腾","2,020,000 结果","0"] ...
A bit of experimentation shows that I'm able to get results for japanese only from google.co.jp, but not from google.com. I'm in Japan, YMMV.
Hmm I don't know it seems to work for me. e.g
http://suggestqueries.google.com/complete/search?qu=%e6%9c%a8
yields
window.google.ac.h(["木",[["木村了","297,026 results","0z"]]])