[TYPO3-english] Multi-language workflow

amadeo Marketing & Design - Paul Garais garais at amadeo-marketing.de
Wed Sep 25 09:20:00 CEST 2013


Hi list,

after checking some possible options I decided to create a userfunction for the 
"Page-not-found"-Handling. With the standard configuration it should do what my customer would like 
to have (as far as the description in the install-tool says). But it don't. So I created the 
userfunction, which you can use for this option. All the userfunction does, is looking for the next 
possible page to show, starting from the current given ID and language-ID. So the first page which 
has a translation for the same language and is not hidden/deleted will be shown (moving up in the 
pagetree from the current page). So it is basically a simple recursive function. That works fine for 
me and performance is also good, because the pagetree has a maximum of 4 levels.




	

*Paul Garais*


Tel. (02 51) 620 651-73
Fax (02 51) 620 651-69

garais at agentur-eulenblick.de
www.agentur-eulenblick.de

Albersloher Weg 662 • 48167 Münster


Am 23.09.2013 15:45, schrieb amadeo Marketing & Design - Paul Garais:
> Hi Jigal,
>
> thanks for your response and hint. That is what I've done first but the customer doesn't like that 
> solution. He wants the possibility to switch languages on every page. So if there is no option in 
> TYPO3 or real_url I think it will be possible to achieve this with some typoscript (so the 
> language menu selects the next possible page on its own). As soon as I have a solution, I will 
> post it here.
>
>
>
>
>
>
> *Paul Garais*
>
>
> Tel. (02 51) 620 651-73
> Fax (02 51) 620 651-69
>
> garais at agentur-eulenblick.de
> www.agentur-eulenblick.de
>
> Albersloher Weg 662 • 48167 Münster
>
>
> Am 23.09.2013 15:10, schrieb Jigal van Hemert:
>> Hi,
>>
>> On 23-9-2013 12:28, amadeo Marketing & Design - Paul Garais wrote:
>>> 2) I think this question is regarding real_url which is also in use for
>>> this site: Since only translated pages and content-elements are shown
>>> for the choosen language, a page would not be visible in the navigation
>>> of the english version if it is only there in standard language. But if
>>> you move to the page in standard language and use the language-switch
>>> navigation to call the english version, TYPO3 shows a error message
>>> because the translation is missing. I would like to change this
>>> behaviour so TYPO3 shows automatically the next parent-page from the
>>> tree which has the desired translation instead of the error-message. Is
>>> it possible with some real-url-configuration or maybe directly through
>>> TYPO3?
>>
>> Why not have a language selector that only provides a link to an alternative language if the page 
>> exists for that language?
>>
>> http://docs.typo3.org/typo3cms/FrontendLocalizationGuide/BasicSetupOfALocalizedWebsite/LanguageSelectorMenu/Index.html 
>>
>>
>> The Frontend Localization Guide is a bit old, but the concepts and settings are still valid. Most 
>> of the examples still work, but you might have to adapt a bit to the new layout of dialogues and 
>> names of options.
>>
>> It's doesn't appear to me as a RealURL issue, because RealURL only translates the usual TYPO3 
>> URLs like index.php?id=15&L=2&tx_myext[someoption]=somevalue to 'speaking URLs' like 
>> /language/path/to/a/page/some_ext_option/some_translated_value (depending on the configuration).
>>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list