localization - TYPO3, select from localized table -
i created localized table. when adding translations go table new uid. have checked other localized extension, seems right.
example: localized entries in table gives not translations entries in table new uid
- tysk (uid 1, danish , default language)
- -- german (uid 7, english translation of "tysk")
- -- deutch (uid 13, german translation of "tysk")
now have concern:
when tre persons denmark, england , germany sign in german, sign uid 1, uid 7 , uid 13... prefer if signed default language.
else difficult generate list of users signed language if each language exist own uid each translation.
what have missed? som exec_select_localized function?
you 100% correct every translation new record (= new uid) in same table. have done right.
for frontend can use $globals['tsfe']->sys_page->getrecordoverlay('tx_mytable', array('uid' => 1)); original record (with result of record in exec_selectquery()),
or in typo3 backend at
backendutility::getrecordlocalization('tx_mytable', 4)
to localized record.
Comments
Post a Comment