I am using text to speech in my apps using code below. Turkish doesn't work in Galaxy Tab T-203. Why doesn't my tablet support local language for text to speech? It is ok when I use it in phone.
Locale locale = new Locale("tr", "TR");
result = tts.setLanguage(locale);
I solved it changing device language input as Gooogle Text To Speech
Related
I need to change the text (translate to my language) when the user choose to take a photo from camera on iOS. I didn't find anything in docs. On android the buttons appear with the language configured on the device, but on iPhone the text of the buttons always appears in English. I would like to be able to change the language of these buttons
I had the same problem and found a solution on a Github issue.
You can fix it by setting the CFBundleDevelopmentRegion to the language of your app in the app.json config:
"expo":{
...
"ios":{
"infoPlist":{
"CFBundleDevelopmentRegion":"de"
}
}
}
The property accepts any two-letter ISO 639-1 language code (like "en", "de" or "ja") or a three-letter ISO 639-2 code.
I hope this is a do-able thing.. I have my website where I link certain services to have us contact via Whatsapp using the link below:
https://api.whatsapp.com/send/?phone=97112345678&text=Hi+there%2C++I+would+like+you+to+book+for+ABC&app_absent=0
PS - I wrote a random phone number 97112345678 above. This can by any phone number with whatsapp.
On the desktop version of my site, this page opens up in Arabic for now since I am accessing this in UAE. Can I append something in the URL itself to land the page in English always? I tried "lang=en" as a guess but did not work.
link below showing the language
The language setting for your WhatsApp needs to be done on your mobile device. Follow the steps below to change your language. (Note that if you don't see the option below, it might not be supported in your country.)
Open WhatsApp.
Tap More options > Settings > Chats > App Language.
Select the language that you want (English).
I have the following international text in my react native app:
<Text>ᚘᚘᚘ</Text>
However, a blank line is displayed to my screen where the text should go. I have tried for other international characters as well and it is the same result.
I am using notepad++ and making sure that encoding is set to UTF-8. If I use console.log("ᚘᚘᚘ") it displays to the console just fine. Do I specifically need to embed a particular unicode font in my React Native project for it to work correctly? Or what should I be doing so that it displays my text correctly?
On further investigation I am using a Samsung Galaxy S2 for testing purposes. It does not seem to handle unicode characters in all applications, so I think my app will not work in older devices unless I specifically embed a Unicode font. Am I correct in my thinking?
The only solution I found to this was to add a custom font. This link explains how to use a custom font: https://blog.bam.tech/developper-news/add-a-custom-font-to-your-react-native-app . The font I used is called GNU FreeFont located here: https://www.gnu.org/software/freefont/
I've added several localizations to my app.
English
Japanese
zh-hans
zh-hant
and I set value "English" in the key CFBundleDevelopmentRegion at info.plist file.
When download app on iOS7 and I change system language from Japanese
to other language (ex. korea), my app show me Japanese.
Another, When change from zh-hans to other language,
my app show me Japanese.
It is not expected and It happen only iOS7.
How to set default language on iOS7 ?
I am new to android development in speech. I want to know whether it is possible to add a new regional language to android speech package (may be by creating new language model and dictionary and adding it to android). Plz help...