Feature #17538
closedWhy not a native lang support ?
0%
Description
For now the only way to make multilang website is to
1) Creat languages records
2) Translate pages & content
3) Modify the TS Template to add a language switch for each lang
From my point of view, the third step should not be. We can use the L get parameter to load the language record wich has the same id, ald get from it others informations, like language key, instead of reading it in the template (of course template should handle default language, but the propreties will be overriden by language record values)
By the way, the L get var can become a "system" var, so should be added in "cHash excluded parameters" and the sys_langage_uid added in the hash array (@see TSFE->getHash) to have a nice language system, without cHashes and cache problems.
I attach an example extension, wich define a ux_tslib_fe to realize it.
(issue imported from #M6163)
Files
Updated by Jean-David Gadina about 17 years ago
That would be nice, and much easier...
We could use ISO codes for this
Updated by Popy no-lastname-given almost 17 years ago
This extension is now in test a recent project, and works perfectly for now. Is anybody interested ?
Updated by Popy no-lastname-given over 13 years ago
Added tslib_fe patch, wich implies the creation of 2 fields in sys_language table :
locale: string field, used as "locale_all" config parameter
lang: string field, used as "lang" config parameter
Updated by Alexander Opitz over 10 years ago
- Category changed from Communication to Backend User Interface
- Status changed from New to Needs Feedback
- Target version deleted (
0)
Hi,
as this issue is very old, I want to ask if you can provide a newer patch against master by using Gerrit? http://wiki.typo3.org/CWT
Updated by Popy no-lastname-given over 10 years ago
Hi. It's added on my TODO list, just after #17585 :)
Updated by Alexander Opitz about 10 years ago
Since #17585 is resolved, what does your TODO list do? :-)
Updated by Popy no-lastname-given about 10 years ago
Well, shit happenned, I'm no more working with typo3 :/
Updated by Alexander Opitz about 10 years ago
- Category changed from Backend User Interface to Localization
- Status changed from Needs Feedback to New
Updated by Helmut Hummel over 6 years ago
I guess everything mentioned here is resolved with the new site configuration
Updated by Riccardo De Contardi over 6 years ago
- Related to Feature #84581: Create a backend module to create site configurations added
Updated by Riccardo De Contardi over 6 years ago
- Status changed from New to Closed
As Helmut wrote, the points mentioned here (esp. 3)) can be solved using the new site configuration module; then I guess that this issue could be closed for now.
If something about site configuration (bugs features) comes out, it should be addressed with new issues, related to #84581.
I also added this one as related to #84581 to keep track of it.
If you think that this is the wrong decision, please reopen it or ping me and I'll do.
Thank you
Updated by Benni Mack over 4 years ago
- Sprint Focus changed from PRC to Needs Decision