[TYPO3-hci] About the languages

Dmitry Dulepov [typo3] dmitry at typo3.org
Wed Feb 6 19:56:05 CET 2008


Hi!

Benjamin Mack wrote:
> I recently noticed (and with the last thread by Patrick) one thing that 
> really is starting to annoy me. The languages for the website...
> 
> If there is only one language on the website, I still get tons of places 
> where I can choose the "default language". I think editors shouldn't see 
> this feature AT ALL until someone added another language to the system.

I agree. Especially that "DEF" thing annoys very much.
 
> This way the BE is way cleaner and more usable for editors as around 
> 2/3s of my projects only have one language. (well, I kind of stated this 
> before, I think).
> I see several places where this is used. So, first of all we'd need a 
> t3lib_BEfunc::getNumberOfLanguages() or a 
> t3lib_BEfunc::systemHasMultipleLanguages() function. Based on this 
> function we can include checks in all the places we need:

Well, it is not that simple. You may have many languages in the system but page may not have any. So you should not show "DEF".

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"


More information about the TYPO3-team-hci mailing list