User tests: Successful: Unsuccessful:
Point blank, JLanguage::setLanguage()
is a terrible API endpoint and can break JLanguage when used. What the API endpoint suggests to do is essentially overload the current JLanguage instance with a new language, however it does not deal with re-loading pre-loaded language files or JLanguage's internal cache.
Uses of this method should be discouraged and instead a new JLanguage object be instantiated where this behavior was previously used.
Labels |
Added:
?
|
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-02-08 15:33:58 |
Hmm, but the constructor of JLanguage still calls the depreceated function. Shouldn't this be changed, too?