Hi,
Translation is totally ok to do with Xml too,
I would recommend creating Ids for every string you need to use in your game. Then you need a manager and for every places where you need a text you get the id within that text and query the manager for the translated version. Based on the current selected language, you'll have the right xml loaded ( the xml will be a list of node with ID and translated content).
I would recommend doing a custom action for this, or else what I would do is use ArrayMaker Hashtable or two FsmArray, where you put all Id's as keys and all translated content as values.
here's a possible way for your xml
FileName: Translation_fr_FR.xml
<Content id="Hello">Bonjour</Content>
<Content id="Surname">Prenom</Content>
Make sure to use "fr_FR" language ISO standard description:
http://www.lingoes.net/en/translator/langcode.htm you could also use
https://crowdin.com/ ( we use this for PlayMaker, it's amazing!), it does the same thing: here's a sample:
<?xml version="1.0" encoding="utf-8"?>
<!--Generated by crowdin.com-->
<!--
Crowdin.net Sample Android XML resource file
Copyright (C) 2014
-->
<resources>
<string name="welcome">Bienvenue !</string>
<string name="save_as">Save as...</string>
<string name="view">View</string>
<string name="about">About...</string>
<string name="about_me">About Me</string>
<string name="current_password">Current Password</string>
<string name="new_password">New Password</string>
<string name="confirm_password">Confirm New Password</string>
<string name="change_password">Change Password</string>
<string name="password_recover">Password recover</string>
<string name="password_reset_success">Your password reseted successully!</string>
<string name="read_message">Read message</string>
<string name="confirm_delete">Are you sure you want to delete this message?</string>
<string name="search_in_messages">Search in messages</string>
<string name="compose_messages">Compose Message</string>
<string name="no_data">No date provided</string>
<string name="quick_start">Quick Start</string>
</resources>
Bye,
Jean