out_sid3r
out_sid3r

Reputation: 1028

TYPO3 alternative page language configuration

I'm trying to join a bunch of pages that are in different languages to a single page whith multiple alternative page languages.

This way, instead of having 3 Home pages, each one with its own language, I have 1 with several alternative page languages. So I'll have one page but the content is in different languages, depending on the language record it uses.

The issue is that TYPO3 extensions should behave differently depending on the language, i.e: form fields should be translated.

For that I was thinking on having a local storage folder for each page language record in order to hold the extension configurations. Chinese language would have a separated storage folder from the english version and the extension running for the chinese version would use the correct storage folder.

But how can I specify which storage folder the extension in the chinese language record should use if I don't use a new page?

Because if I use a language record to differentiate chinese from english I can't have different typoscript configurations. The language record properties page doesn't have a ts config field and as such I can't tell that the extension should use a different storage folder (different pid) for this language.

Upvotes: -1

Views: 1066

Answers (1)

Cybercartel
Cybercartel

Reputation: 12582

For each language you can add a cObj plugin and thus edit the plugin configuration. You can also use a condition and getText to assign a new pid to the plugin. For example plugin.test_pi1.sysfolder < 666.

The first option is when you look in the mysql table language overlay you have a separate record ctype plugin of your plugin and thus you can edit the plugin configuration.

Upvotes: 1

Related Questions