Warning: you do not need to do anything like this, to make TTS works in Locus. These files are already included in Locus!
I'll use this topic, as one of many, to discuss new system of TTS for Locus
Main problem of TTS is correct spelling of numbers. To make it work on 100%, I created a system where all texts are stored in text files in usable format prepared for reading.
In English it's not so bad, there are only a one/first
, but in czech are four possibilities jeden/jednu/první/prvním
. So in this file may be arrays names numbers_NX
where X is 1 - 5. You may then use these numbers in action texts.
Also format of this file is JSON. It's little bit complicated to write, but much easier to read and work with itHow to help/translate
- TTS files are stored on shared Google Drive
- All changes I do, are stored in README file, so read it once a time to check if there is something new
- recommended way to modify is - in you Google Docs (http://docs.google.com
), tap on "Tools" > "Manage apps" > "Connect more apps" > "Anyfile Notepad"! It allows directly edit these TTS files on web and mainly, has very good JSON syntax highlight
and error reports (incorrect syntax)
If you want to translate TTS to language that is not on Google Drive, write me and I'll gladly add it.