Hi,
I noticed that languages without locale were not generated. Of course, I could have added language translations to the config like en:en, es:es, fr:fr...
I figured that a simple change in the code could ease this and auto accept languages without locale
so in file /administrator/components/com_ctransifex/helpers/transifex.php
class ctransifexHelperTransifex
{
[...]
public static function getJLangCode($transifexLang, $projectConfig){
$languages = self::getLangmap($projectConfig);
/***********************/
/* CUSTOM CODE - START */
/* Auto accept languages with no locale (en, fr, es...) */
/***********************/
if (strlen($transifexLang) == 2) {
$languages[strtolower($transifexLang)] = strtolower($transifexLang);
}
/***********************/
/* CUSTOM CODE - END */
/***********************/
[...]
}
[...]
}