/CI_Translator

Translate codeigniter php language files using google translation API

Primary LanguagePHPMozilla Public License 2.0MPL-2.0

Translate a codeigniter language file, the array in the file should have 'lang' as name.

Arguments :

    from_language : language of the file (fr, en, ar ...)
    to_language : language of the translation (fr, en, ar ...)
    source_file_path : codeigniter language file path
    output_file_path : output file path

    Usage : php ci_translator.php from_language to_language source_file_path output_file_path

    Example : php ci_translator.php fr en /home/user/french/countries_lang.php /home/user/english/countries_lang.php