[TYPO3-dev] A language problem in frontend editing

tapio tapio.markula at dnainternet.net
Thu Jan 19 12:57:17 CET 2006


Hi

Titles for edit icons in frontend editing work inconsistent
and I would try to get consistent title and labels in frontend

If the language of the page has been set

config.sys_language_uid =0
config.language=fi
config.locale_all = fi_FI.ISO8859-1

So calendars etc. are in Finnish.

If the language of the BE interface is 'English'.


Icon titles in edit panels are in English - ok and consitent.

BUT titles of individual Edit icons are in Finnish - inconsistent and
because of this reasen a bug - I reported it.

Here is the code, where the bug exists.


function editIcons($content,$params, $conf=array(), $currentRecord='', 
$dataArr=array(),$addUrlParamStr='')	{
...
  title="'.t3lib_div::deHSCentities(htmlspecialchars($iconTitle)).'


Is there a quick solution to this bug. I could put a bugfix into my
plugin.


I added to toolbar text, which I take from my own extension.

But they are in Finnish - I would like them in English and follow the
language of the BE-interface.

The function is now

$GLOBALS['TSFE']->sL('LLL:EXT:tm_contentaccess/locallang.php:p_editRecord')

Works otherwise ok but the language is incorrect. It it takes it 
according to the language of the page, not the language of the BE interface.




More information about the TYPO3-dev mailing list