1
0
forked from GitHub/gf-core

updated app help file ; added backslash to ? in Thai keyboard xml to make it compile

This commit is contained in:
aarne
2015-04-13 09:45:05 +00:00
parent 29712a43ac
commit ca2ef47a47
3 changed files with 12 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
<body> <body>
</p> </p>
<b>GF Offline Translator</b>: <b>GF Offline Translator</b>:
text and speech translation for 12 languages with text and speech translation for 14 languages with
quality control quality control
</p> </p>
<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>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>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>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>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>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> </table>
</center> </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>
<p> <p>
The speech input and output use Google's voice services. Their status The speech input and output use Google's voice services. Their status
@@ -117,13 +121,13 @@ To activate it go to Settings > Language &amp; input.
</p> </p>
<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. internet connection, when doing text-based translation.
Even speech works off-line in some languages, Even speech works off-line in some languages,
but being on-line may give you better but being on-line may give you better
speech input and output. speech input and output.
You can also install third-party off-line speech engines, such as 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 Consult the voice/language settings on your phone to find the optimal
speech engines, and restart the app after changing the settings. speech engines, and restart the app after changing the settings.
</p> </p>

View File

@@ -58,7 +58,7 @@
<Key android:codes="3630" android:keyLabel="ฮ"/> <Key android:codes="3630" android:keyLabel="ฮ"/>
<Key android:codes="3642" android:keyLabel="ฺ"/> <Key android:codes="3642" android:keyLabel="ฺ"/>
<Key android:codes="3660" 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="3602" android:keyLabel="ฒ"/>
<Key android:codes="3628" android:keyLabel="ฬ"/> <Key android:codes="3628" android:keyLabel="ฬ"/>
<Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete" <Key android:codes="-5" android:keyIcon="@drawable/sym_keyboard_delete"

View File

@@ -36,9 +36,9 @@ public class TTS {
*/ */
/* OR use separate entries for Cantonese and Mandarin */ /* OR use separate entries for Cantonese and Mandarin */
if (language.equals("cmn-Hans-CN")) { // if (language.equals("cmn-Hans-CN")) {
language = "yue"; // language = "yue";
} // }
Locale locale = LocaleUtils.parseJavaLocale(language.replace('-', '_'), Locale locale = LocaleUtils.parseJavaLocale(language.replace('-', '_'),
Locale.getDefault()); Locale.getDefault());