[TYPO3-templavoila] Continue f. t.team.core: Templavoila localization

Bernhard Kraft kraftb at kraftb.at
Wed Mar 15 22:08:01 CET 2006


Hello,


The thread continues ...

:)


I await your mails Kasper .. I think I will not start to dig around in the code until you give
an ok that it has stabilized to some kind (it not makes fun to manually apply patches because
automatically fails) and we have agreed what shall be made.

My proposoal is to make a mixture between the two versions version-k and -r ...

I think the switch for this should be langDisabel 0/1 ... where 1=kaspers version and
0 = robert's version (i think robert has meant langDisable=1 only when no translation
shall happen)

------------------------------
When langDisable=1 then there will be still language select boxes in the T3 page module and when
a user select a specific language he get's only shown the language he selected (for multi language
editors) (pherhaps we should give a simply possiblity to hide the language-selector and set the
language shown to a default via Page-TS config) - this would given one then still the ablity to
direct some master-editor to the default page and force him to view all languages.
When a CE gets translated this gets only done via tce_main and no TV interaction is needed.
The TV page module will be modified to display the elements from lDEF|vDEF all the time but only
the elements having its translationOriginl set to those elements (I hope you understand) ...

I try do visualize it:

lDEF | field_content | vDEF => '123(EN),334(EN),456(DK),559(EN)',
it also also exists:
446(DK): translOrig = 123
833(DK): translOrig = 559


In the page module you will see for EN:
===============
| 123         |
|   » DK: 446 |
===============
| 334         |
===============
| 559         |
|   » DK: 833 |
===============

» are the translations

In the page module you will see for DK:
=================
| 446           |
=======================
| Translate 334 to DK |
=======================
| 456           |
=================
| 833           |
=================


------------------------------

When langDisable=0 it will get rendered like it currently get's done ... nothing get's changed here. only
my proposed changes to let the localization get handled by tce_main and the insertion into the correct
lXX vXX field by TV.

------------------------------


If you are fine with that I will start to code it during the day or the following.


greets,
Bernhard
-- 
----------------------------------------------------------------------
"Freiheit ist immer auch die Freiheit des Andersdenkenden"
Rosa Luxemburg, 1871 - 1919
----------------------------------------------------------------------



More information about the TYPO3-project-templavoila mailing list