t() function ignoring language section - takes sitewide language setting into account instead
Permalink
Hey guys!
Translating a package, I noticed, that the english language section displays hungarian strings. After doing some tinkering, it turned out, that the sitewide language settings define which strings to display, the language sections provided by the Internationalization plugin are totally ignored. I m surely missing something here. I'm sure others hav run into this before, but I could not find an answer here. :( Ofcourse, I could do workarounds, but I'd like to know how to do this the concrete5 way and to make it work nicely with t() and Internationalization. Thanks!
Translating a package, I noticed, that the english language section displays hungarian strings. After doing some tinkering, it turned out, that the sitewide language settings define which strings to display, the language sections provided by the Internationalization plugin are totally ignored. I m surely missing something here. I'm sure others hav run into this before, but I could not find an answer here. :( Ofcourse, I could do workarounds, but I'd like to know how to do this the concrete5 way and to make it work nicely with t() and Internationalization. Thanks!
I understand, that t() is part of the core, and MultilingualSection is an add-on model, thus, t() can not take into account information from MultilingualSection, but I figured, that the Internationalization plugin probably solves this somehow. Am I just looking over something or is this an actual problem?