Project

General

Profile

Actions

Feature #17538

closed

Why not a native lang support ?

Added by Popy no-lastname-given over 17 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2007-08-16
Due date:
% Done:

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:
Needs Decision

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

T3X_belink_syslang-1_0_0-z-200708161700.t3x (7.71 KB) T3X_belink_syslang-1_0_0-z-200708161700.t3x Administrator Admin, 2007-08-16 17:00
6163.patch (3.79 KB) 6163.patch Administrator Admin, 2010-11-17 16:20

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #62856: L parameter strong defaultClosed2014-11-11

Actions
Related to TYPO3 Core - Feature #84581: Create a backend module to create site configurationsClosedBenni Mack2018-04-03

Actions
Actions #1

Updated by Jean-David Gadina over 17 years ago

That would be nice, and much easier...
We could use ISO codes for this

Actions #2

Updated by Popy no-lastname-given over 17 years ago

This extension is now in test a recent project, and works perfectly for now. Is anybody interested ?

Actions #3

Updated by Popy no-lastname-given about 14 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

Actions #4

Updated by Alexander Opitz almost 11 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

Actions #5

Updated by Popy no-lastname-given almost 11 years ago

Hi. It's added on my TODO list, just after #17585 :)

Actions #6

Updated by Alexander Opitz over 10 years ago

Since #17585 is resolved, what does your TODO list do? :-)

Actions #7

Updated by Popy no-lastname-given over 10 years ago

Well, shit happenned, I'm no more working with typo3 :/

Actions #8

Updated by Alexander Opitz over 10 years ago

  • Category changed from Backend User Interface to Localization
  • Status changed from Needs Feedback to New
Actions #9

Updated by Susanne Moog over 9 years ago

  • Sprint Focus set to PRC
Actions #10

Updated by Helmut Hummel over 6 years ago

I guess everything mentioned here is resolved with the new site configuration

Actions #11

Updated by Riccardo De Contardi over 6 years ago

  • Related to Feature #84581: Create a backend module to create site configurations added
Actions #12

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

Actions #13

Updated by Benni Mack over 4 years ago

  • Sprint Focus changed from PRC to Needs Decision
Actions

Also available in: Atom PDF