How to Add a new language to the Flashblocks ML administrator

This tutorial will show you to add your language to the Flashblocks ML administration. When you login to a Flashblocks ML powered website you are presented with a list of available languages. Adding new languages here is very simple.

  1. Navigate to the flashblocks/languages/ directory. Within this directory you will find sub directories titled "English", "French", etc..
  2. Duplicate the language directory that you wish to translate from. So for example if you are translating from English to Hungarian simply duplcate the "English" directory and rename it "Hungarian".
  3. Edit your languages XML language files with any text editor.

If you open flashblocks.xml, you will see something that looks like this:

 <menu>
    <!--    Root Menu    -->
    <save>Save Data</save>
    <logout>Logout Flashblocks</logout>
    ...

Change the tag contents (Save Data) but not the tags (<save>). The actual XML tags must remain the same as they are the identifiers that Flashblocks ML uses when referencing language data. Also, if you wish you may also change the XML comments (anthing between <!-- text -->) although this is not necessary. Your new XML snippet may look something like this:

 <menu>
    <!--    Root Menu    -->
    <save>Sauver les données</save>
    <logout>Quitter Flashblocks</logout>
    ...