[TYPO3] Ratings Extension [netcreators] language problems
Dmitry Dulepov [typo3]
dmitry at typo3.org
Tue Apr 1 20:32:13 CEST 2008
Hi!
Christopher Schnell wrote:
> I have a problem with languages in Dimitrys Ratings extension. At first,
> in all languages, the ratings extension always used the default language
> strings. with a little debugging, I found out, that $GLOBALS['LANG'] is
> set but always has the value default. However, $GLOBALS['TSFE']->lang
> has the correct value but unfortunately, $GLOBALS['LANG'] is considered
> first. So I simply outcommented this part and laguages work correctly,
> until I submit a rating. "api_submitting" is still in the correct
> language but "api_already_rated" is returned in the default language.
> Upon refresh of the page, it is displayed in the correct language.
>
> Now, I have two questions:
> 1. Where can I set $GLOBALS['LANG'] to be different from default? Maybe
> that fixes my problem.
> 2. Can anybody explain, why only the default language is returned on
> submitting?
There is a bug tracker for issues...
--
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"
More information about the TYPO3-english
mailing list