AJAX + XML:
https://www.scirra.com/tutorials/807/ho ... -game-talk
https://www.scirra.com/tutorials/354/xml-parsing
I've used XML for my last game language localization. I have something like this:
<?xml version='1.0' encoding='utf-8'?>
<dictionary version='1.0' selected_language='eng'>
<word key='hi'>
<translation language='spa'>Hola</translation>
<translation language='eng'>Hello</translation>
</word>
<word key='bye'>
<translation language='spa'>Adios</translation>
<translation language='eng'>Good bye</translation>
</word>
</dictionary>
One XML with hundreds or even thousands lines will size < 1% of your exported project size (images and audio are the other 99%) <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">