Friday, October 23, 2015

Add more language to Pebble Time voice dictation service.

Just got a new Pebble Time Steel last week and found that voice dictation on it is awesome. The only annoyed thing is its voice dictation doesn't support much language including my native language (Vietnamese).

At first thought maybe Pebble uses Google voice API but after a quick check, I got this news about PT voice engine and voila here is their demo: it supports many more languages than the Pebble App allow us to choose. Now the tweak begins.

Having used adb shell on my Android phone, I figured out that the Pebble Time app has saved the configuration in this SQLite file /data/data/com.getpebble.android.basalt/databases/pebble, in table "preferences" and the key is "voice_language". Now we can change the language to the one which matches with this document ( for example "eng-USA", "vie-VNM" ) and reboot.

Ehhmm, too much technical things? To make it easier for most users I created a small Android app which you can download here. (Remember, you need rooted Android phone to make this work, I will public source code to Github later).



Note: When you use custom voice language and open Pebble Time app --> Settings, It will crash because it doesn't understand that language. All you need to do is use my app and change back to English, everything will be normal again. After that you can select back to your language with my app. New Pebble app version now worked ok with this tweak.
Cheers.

Update:
2016/05/29: I updated my tweak app to support MarshMallow and environment doesn't have busybox.

13 comments:

  1. hi, i have a pebble time and i use iphone. i tried change voice language but i dont find this file (in ifile). Are you have got any idea for iphone ?

    ReplyDelete
    Replies
    1. Sorry, this program is for Android only. Since i don't have IPhone to try out so don't know if it possible on IOS.

      Delete
  2. Chào bác. Tính năng này thế nào rồi bác? Bác có thể vào facebook Hội Pebble Việt Nam trợ giúp anh em được không? Cảm ơn bác!

    ReplyDelete
  3. Cái này như trong group mọi người đã nói, cần phải root máy sau đó thì khi pebble nhận dạng dọng nói thì nó sẽ nhận dạng theo tiếng việt hoặc bất kỳ ngôn ngữ nào bạn muốn. ( Độ chính xác theo mình thấy thì khá tốt )

    ReplyDelete
  4. this would be great and thanks in advanced for making this possible! I have installed the file on my rooted Phone and selected my language (Dutch). I doesnt seem to do anything. Am i doing something wrong?

    kind greetings

    ReplyDelete
  5. mmmh i found the required field in de database. The value of the attribute is: 'nld_NLD' . This is according to the website of Nuance Developers you linked to. Do you have anymore thoughts or suggestions?

    ReplyDelete
  6. This comment has been removed by a blog administrator.

    ReplyDelete
  7. Im sorry for all the Spam, but i figured out how to get it to work! I installed the SQLite Editor app and changed the value my self.

    Amazing work my friend. Thank you so much from!

    ReplyDelete
  8. Need to restart the phone to Pebble app reload the config.
    Anyway glad you like it.

    ReplyDelete
  9. yes, like it a lot! The app isn't crashing when you launch it with a different language inserted in the database. In 'voice setting' it just says 'selected language:Eng-usa' instead of crashing, while the database is nld-NLD. It works like a charm. greetings

    ReplyDelete
  10. A mortgage is high-ratio when your downpayment is lower than 20% from the property value. mortgage payment calculator Alberta charges a land title transfer fee which can be significantly smaller than land transfer taxes charged by other provinces. mortgage payment calculator

    ReplyDelete
  11. Casino Slot Games 2021-11-14 | jtmhub.com
    The Best Casino Slots in the World · Best Mobile Casino Slots 광양 출장샵 in the World · 성남 출장마사지 All Slot Games Ranked by 부천 출장마사지 Experts · Best Casino 인천광역 출장샵 Slots Online For Canadians 의왕 출장안마 · Play Online

    ReplyDelete