create()
create(array $strings, string $target_lang, string $source_lang) : mixed
Generate a TMX file from a data source
Parameters
array | $strings | All the strings the user picked |
string | $target_lang | Locale picked from which we get translations |
string | $source_lang | Source locale |
Returns
mixed —string that contains a TMX in xml format, False otherwise