在 Android 4.3 中为拼写检查添加第二个字典?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/20197421/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Adding a second dictionary to the spell-check in Android 4.3?
提问by RckLN
I write in two languages simultaneously (English and Spanish) and it is customary to switch between them in the middle of sentences. The spell checker/predictive text goes haywire when I type in Spanish. I can't seem to figure out how to add that dictionary to the mix, and having to enter each word one at a time as I type them is a pain. Is there a way I can have it do English and Spanish at the same time? I don't need the keyboard to change, just the spell checker, really.
我同时用两种语言(英语和西班牙语)写作,习惯上在句子中间切换它们。当我输入西班牙语时,拼写检查器/预测文本会变得混乱。我似乎无法弄清楚如何将该字典添加到组合中,并且在键入它们时必须一次输入一个单词是一种痛苦。有没有办法让它同时做英语和西班牙语?我不需要改变键盘,只需要拼写检查器,真的。
采纳答案by user3088613
On Android you can input multiple languages and switch them by sliding on the spacebar. Go to the settings under "language and keyboard" and then "Android Keyboard", "Input language".
在 Android 上,您可以输入多种语言并通过在空格键上滑动来切换它们。转到“语言和键盘”下的设置,然后“Android 键盘”、“输入语言”。
回答by bbsimonbb
This seems to have changed with Android 5. If you use a 3rd party keyboard, such as Hackers in my case, changing the language "within" the keyboard changes the suggestions, but does not change the dictionary for the system spellchecker, so your text will have red underlines. To get rid of these, my only solution at this point is to abandon Hackers Keyboard and go with Google Keyboard. The long press on the spacebar brings up all keyboard/language combinations, and the system spellchecker language changes accordingly.
这似乎在 Android 5 中发生了变化。如果您使用 3rd 方键盘,例如在我的情况下是 Hackers,更改键盘“内”的语言会更改建议,但不会更改系统拼写检查器的字典,因此您的文本会有红色下划线。为了摆脱这些,我目前唯一的解决方案是放弃黑客键盘并使用谷歌键盘。长按空格键会调出所有键盘/语言组合,系统拼写检查器语言也会相应更改。
回答by Walter Berggren
SwiftKey allows you to add up to three languages simultaneously. I regularly type in three different languages, Swedish, English and French. If I start a sentence in say, French, I can suddenly in the middle of a sentence switch to English if I can't find the word I'm looking for without any problems. Predictions will then be automatically switched from French to English as well. I only have one issue with the app. Sometimes I write in Finnish as well, and changing to the fourth language is somewhat of a hassle (settings, languages, uncheck on of the currently used languages and choose the new one). But overall I'm happy with it.
SwiftKey 允许您同时添加最多三种语言。我经常用三种不同的语言打字,瑞典语、英语和法语。如果我用法语开始一个句子,如果我找不到我要找的词,我可以在句子中间突然切换到英语,没有任何问题。然后预测也会自动从法语切换到英语。我的应用程序只有一个问题。有时我也用芬兰语写作,改用第四种语言有点麻烦(设置、语言、取消选中当前使用的语言并选择新语言)。但总的来说我很满意。
回答by user2903794
Settings -> Language & input -> Android keyboard (tap the settings icon just to the right) -> Input languages. Select as many as you want.
设置 -> 语言和输入 -> Android 键盘(点击右侧的设置图标) -> 输入语言。选择任意数量。
Now, open any app which uses a keyboard, such as Messaging. Pop the keyboard and you will see that the spacebar now indicates the current language setting, for example, "English (US)". Look just to the left of the spacebar for a button with a world map icon. Tap it once to instantly switch to an alternate language (mine is Italiano). If you have just the two languages setup, tapping the world icon will swap between them; if you have more than two, it will cycle through them. You can also tap/hold the world map icon for a different method of choosing.
现在,打开任何使用键盘的应用程序,例如消息。弹出键盘,您将看到空格键现在指示当前语言设置,例如“英语(美国)”。查看空格键左侧的带有世界地图图标的按钮。点击一次即可立即切换到另一种语言(我的是意大利语)。如果您只有两种语言设置,点击世界图标将在它们之间切换;如果你有两个以上,它会循环通过它们。您还可以点击/按住世界地图图标以使用不同的选择方法。
Normally, each time you switch language, the spellcheck dictionary changes as well. However, I don't see a Filipino language dictionary available for download, so not sure how this might work. Settings -> Language & Input -> Add-on Dictionaries
通常,每次切换语言时,拼写检查词典也会发生变化。但是,我没有看到可供下载的菲律宾语词典,所以不确定这可能如何工作。设置 -> 语言和输入 -> 附加词典
回答by user2903794
This may also depend on the selected keyboard. My Android 5.0.1 keyboard didn't gave me suggestions in my language even though that language was enabled.
这也可能取决于所选的键盘。即使启用了该语言,我的 Android 5.0.1 键盘也没有以我的语言为我提供建议。
I fixed this by selecting Gboard(Google keyboard) and enabling my language there.
我通过选择Gboard(谷歌键盘)并在那里启用我的语言来解决这个问题。
Selecting multiple languages for the Gboard keyboard makes suggestions available for all these languages at the same time.
为 Gboard 键盘选择多种语言可以同时为所有这些语言提供建议。
回答by Mar Cnu
Here is how for example to have a French keyboardwith French dictionary+ French keyboardwith English dictionary
这里是如何的例子,有个法国键盘与法语字典+法语键盘跟英语词典
Go to Android settings > Language & Input > Gboard
(Google default keyboard).
转到Android settings > Language & Input > Gboard
(谷歌默认键盘)。
Then in Languages
, you can tick all the keyboards you want. In my case, French (France)
and English (UK)
.
然后在 中Languages
,您可以勾选您想要的所有键盘。在我的情况下,French (France)
和English (UK)
。
This will give you the usual AZERTY French keyboard and the usual QWERTY English keyboard.
这将为您提供常用的 AZERTY 法语键盘和常用的 QWERTY 英语键盘。
If you want the English dictionary with a French AZERTY keyboard, you can go to Preferences > Personalised input styles
and create a new keyboard Language: English (UK) Layout: AZERTY
, then in the Languages
menu, you will have a new keyboard in the list, English (UK) (AZERTY)
. Tick it.
如果您想要带有法语AZERTY键盘的英语词典,您可以前往Preferences > Personalised input styles
并创建一个新键盘Language: English (UK) Layout: AZERTY
,然后在Languages
菜单中,您将在列表中拥有一个新键盘English (UK) (AZERTY)
。打勾。
You now have 3 keyboards in your list: French (France)
, English (UK)
and English (UK) (AZERTY)
.
您的列表中现在有 3 个键盘:French (France)
、English (UK)
和English (UK) (AZERTY)
。
While using the keyboard, you can then switch from one keyboard to another either with the special button or by holding the Space
bar. The Space
bar also shows the current language being used.
使用键盘时,您可以使用特殊按钮或按住控制Space
条从一个键盘切换到另一个键盘。该Space
栏还显示当前使用的语言。
Using multiple dictionaries at the same time:In Text correction
, there is an option called "multilingual suggestions", this will use several dictionaries at the same time, recognising as valid all words from the selected languages. If active, the Space
bar will show something like FR-EN, to indicate that several languages are active at the same time. I personally don't like it.
同时使用多个词典:在 中Text correction
,有一个名为“多语言建议”的选项,这将同时使用多个词典,将所选语言中的所有单词识别为有效。如果处于活动状态,该Space
栏将显示类似 FR-EN 的内容,以指示多种语言同时处于活动状态。我个人不喜欢它。
回答by Tom
I just found an easy way to accomplish your goal. Turn off the auto correction function. Go to settings, go to language and input, go to Google keyboard settings, go to text correction. Uncheck autocorrection. You can then type whatever you want and it will still give suggestions but it won't jump them into your message. Espero que ayudo! I was having same issue typing in French to my friend in Madagascar, this fixed it for me. Android 4.4.2.
我刚刚找到了一种简单的方法来实现您的目标。关闭自动校正功能。转到设置,转到语言和输入,转到 Google 键盘设置,转到文本更正。取消选中自动更正。然后您可以输入任何您想要的内容,它仍然会提供建议,但不会将它们添加到您的消息中。Espero que ayudo!我在马达加斯加给我的朋友输入法语时遇到了同样的问题,这为我解决了。安卓 4.4.2。