-
Notifications
You must be signed in to change notification settings - Fork 66
LANGUAGE PACK DOCUMENTATION
Check list for globalization inside InMoov service
-
1/ System language and autodiagnostic
https://github.com/MyRobotLab/inmoov/tree/master/InmoovScript/system/languagePack
You can find inside text files to translate. Exemple, file Errors.lang :
languagePack\en
lang_alert="Alert! can I have your attention please ! "
-->
languagePack\it
lang_alert="Mettere in guardia! posso avere la vostra attenzione per favore " -
2/ ear.addCommands ( to refactor )
-
3/ Chatbot
https://github.com/MyRobotLab/inmoov/tree/master/InmoovScript/inmoovVocal/bots
About chatbot, there are 2 things.
- Global chatbot, this is the general brain of your robot. You ask something and robot answer you... You can translate other language chatbot, or write your own.
- Inmoov files. Like :
_inmoovGestures.aiml . This is a common file related to InMoov. This one is very important because inside you can find every "gestures" used by inmoov. Like "Da Vinci" or "Open you left hand" .
Exemple :
( chatobot/en )
<pattern>OPEN YOUR RIGHT HAND</pattern>
-->
( chatbot/it )
<pattern>APRI LA TUA MANO DESTRA</pattern>
_inmoovChatBot.aiml . Inside this file you can find "First initialization" routine. https://github.com/MyRobotLab/inmoov/blob/master/InMoov/chatbot/bots/en/aiml/_inmoovChatbot.aiml#L38
Ohh, if you find something like : SYSTEM_XXX , don't translate it ! This is used by the system. Just translate the awnsers . Ex : https://github.com/MyRobotLab/inmoov/blob/master/InMoov/chatbot/bots/en/aiml/_inmoovChatbot.aiml#L179
SYSTEM_SAY_HELLO
<srai>HI</srai>
( english ) // <srai>salut</srai>
( Français ) // etc ...
If you translate something dont forget to share your mods for others on github ! ( develop branch )