Privet
I need to make multilanguage extension. Does anybode now tutorial for that? I searched but could not found. Lets say simple extension with list items "car".
There is one field: name. I can enter 'Audi", but how to enter russian transliation "Ауди" for that car?
It is more or less clear how to retrieve from database:
PHP код:
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*', ' tx_yourextension_car', 'uid=29');
$row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res);
// Check if the user is viewing a different language
if ($GLOBALS['TSFE']->sys_language_uid != 0) {
$OLmode = ($this->sys_language_mode == 'strict'?'hideNonTranslated':'');
$row = $GLOBALS['TSFE']->sys_page->getRecordOverlay('tx_anpacars2_car', $row,
$GLOBALS['TSFE']->sys_language_uid, $OLmode);
but how to enter different values of car name for different languages?
Sposibo