2012-02-05, 20:03:29
Hello everyone!
mvlcek, I have a question about i18n function return_i18n_languages() and it's front-end class implementation getLanguages(). The fact is, that this function returns only 2 languages (best on first place), but for my plugin implementation I need all user created languages.
My suggestion is to make another function return_i18n_language_list() or to modify existing return_i18n_languages() so that it would return all languages.
The code could be taken from pages.php file lines ~ 24 - 35.
mvlcek, I have a question about i18n function return_i18n_languages() and it's front-end class implementation getLanguages(). The fact is, that this function returns only 2 languages (best on first place), but for my plugin implementation I need all user created languages.
My suggestion is to make another function return_i18n_language_list() or to modify existing return_i18n_languages() so that it would return all languages.
The code could be taken from pages.php file lines ~ 24 - 35.