Project

General

Profile

Actions

Bug #23483

closed

pageTSConfig.txt bypass localization package

Added by Mathieu Bilodeau almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-08-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Translation package are working well except for one part where the default language is used: english. In the bodytext part of the RTE, when you want to create a link to weither a internal page, external page, file or e-mail, the default title assigned to the link is in English instead of using what's located the /l10n folder for this extension.

1) Create a text box
2) Add some text into it
3) Select the part of text that will become a link
4) with the Link Icon of the toolbar, create an external link

It is useless to go futher, the default title text is in english while the rest of the interface is in an other language: French in my case.

I looked at the code of the rtehtmlarea extension and found that the titleText are defined by a TypoScript file:

/typo3/sysext/rtehtmlarea/res/typical/pageTSConfig.txt

It looks like Typo3 can't get translation file located under /typo3conf/l10n/fr/rtehtmlarea/... in a TypoScript, the XML file is hardcoded into the Typoscript.
(issue imported from #M15603)

Actions #1

Updated by Stanislas Rolland almost 14 years ago

Not so.

Localization of these labels is provided by
EXT:rtehtmlarea/res/accessibilityicons/locallang.xml

Perhaps you need to get your localization files updated from the translation server using the Extension Manager.

And you probably want to set
RTE.default.defaultContentLanguage = fr

See defaultContentLanguage on this page:
http://typo3.org/documentation/document-library/extension-manuals/rtehtmlarea_manual/2.0.0/view/4/4/

Of course, you may also override the source of those labels in Page TSConfig and have them refer to your own locallang.xml file.

Actions #2

Updated by Mathieu Bilodeau over 13 years ago

Wow! the missing line in my configuration was in fact:

RTE.default.defaultContentLanguage = fr

Thanks for the hint! it works great now

Actions

Also available in: Atom PDF