diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/android/assets/help_content.html | 12 | ||||
| -rw-r--r-- | src/ui/android/res/xml/thai_page2.xml | 2 | ||||
| -rw-r--r-- | src/ui/android/src/org/grammaticalframework/ui/android/TTS.java | 6 |
3 files changed, 12 insertions, 8 deletions
diff --git a/src/ui/android/assets/help_content.html b/src/ui/android/assets/help_content.html index 2caf36545..c41260a3c 100644 --- a/src/ui/android/assets/help_content.html +++ b/src/ui/android/assets/help_content.html @@ -2,7 +2,7 @@ <body> </p> <b>GF Offline Translator</b>: -text and speech translation for 12 languages with +text and speech translation for 14 languages with quality control </p> <p> @@ -88,11 +88,15 @@ The following table gives a rough idea of what to expect: <tr> <th>German</th> <td bgcolor=pink></td> <td bgcolor=yellow></td><td bgcolor=pink></td> <td bgcolor=palegreen></td></tr> <tr> <th>Hindi</th> <td bgcolor=pink></td> <td bgcolor=red></td> <td bgcolor=yellow></td> <td bgcolor=yellow>in only</td> </tr> <tr> <th>Italian</th> <td bgcolor=pink></td> <td bgcolor=pink></td><td bgcolor=pink></td> <td bgcolor=palegreen></td></tr> +<tr> <th>Japanese</th> <td bgcolor=pink></td> <td bgcolor=pink></td><td bgcolor=yellow></td> <td bgcolor=palegreen></td></tr> <tr> <th>Spanish</th> <td bgcolor=pink></td> <td bgcolor=yellow></td><td bgcolor=pink></td> <td bgcolor=palegreen></td></tr> <tr> <th>Swedish</th> <td bgcolor=yellow></td> <td bgcolor=yellow></td> <td bgcolor=palegreen></td> <td bgcolor=yellow>in only</td></tr> +<tr> <th>Thai</th> <td bgcolor=pink></td> <td bgcolor=pink></td><td bgcolor=yellow></td> <td bgcolor=palegreen></td></tr> </table> </center> -*<b>Chinese</b> uses Mandarin for input and Cantonese for output. +*<b>Japanese</b> and <b>Thai</b> input must be separated to words. +<br> +**<b>Chinese</b> uses Mandarin for input and Cantonese for output. </p> <p> The speech input and output use Google's voice services. Their status @@ -117,13 +121,13 @@ To activate it go to Settings > Language & input. </p> <p> -This app works <b>completely off-line</b>, without +The translation works <b>completely off-line</b>, without internet connection, when doing text-based translation. Even speech works off-line in some languages, but being on-line may give you better speech input and output. You can also install third-party off-line speech engines, such as -SVOX. +<a href="https://play.google.com/store/apps/developer?id=SVOX+Mobile+Voices&hl=en">SVOX</a>. Consult the voice/language settings on your phone to find the optimal speech engines, and restart the app after changing the settings. </p> diff --git a/src/ui/android/res/xml/thai_page2.xml b/src/ui/android/res/xml/thai_page2.xml index 5fba40132..031807bac 100644 --- a/src/ui/android/res/xml/thai_page2.xml +++ b/src/ui/android/res/xml/thai_page2.xml @@ -58,7 +58,7 @@ <Key android:codes="3630" android:keyLabel="ฮ"/> <Key android:codes="3642" android:keyLabel="ฺ"/> <Key android:codes="3660" android:keyLabel="์"/> - <Key android:codes="63" android:keyLabel="?"/> + <Key android:codes="63" android:keyLabel="\?"/> <Key android:codes="3602" android:keyLabel="ฒ"/> <Key android:codes="3628" android:keyLabel="ฬ"/> <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete" diff --git a/src/ui/android/src/org/grammaticalframework/ui/android/TTS.java b/src/ui/android/src/org/grammaticalframework/ui/android/TTS.java index d52315fec..7babb797a 100644 --- a/src/ui/android/src/org/grammaticalframework/ui/android/TTS.java +++ b/src/ui/android/src/org/grammaticalframework/ui/android/TTS.java @@ -36,9 +36,9 @@ public class TTS { */ /* OR use separate entries for Cantonese and Mandarin */ - if (language.equals("cmn-Hans-CN")) { - language = "yue"; - } + // if (language.equals("cmn-Hans-CN")) { + // language = "yue"; + // } Locale locale = LocaleUtils.parseJavaLocale(language.replace('-', '_'), Locale.getDefault()); |
