[TYPO3-dev] BE langauge
Tapio Markula
tapio.markula at xetpoint.fi
Sat Feb 20 15:42:28 CET 2010
Stephen Bungert
> Currently in an extension that I wrote, the records looked up in the BE for
> a field are shown from all languages. By changing the foreign_table_where
> element I was able to get it to only show the default language records. But
> I want to match the records to the BE language.
Does it have any sense? BE language is just a choise of BE editor and
that can be different, for example somebody would like to use Finnish
and somebody else Englich as BE language. Then it is no sense that
records match with BE language. BE language has totally different task
as FE language.
If the language should relate with the FE language
> Is there and *easy* way of getting the BE language and then getting the FE
> id for this language?
BE language has no id like FE language because they are handled by keys.
FE languages have free choise. Then there is no natural connection
between FE an d BE languages.
Or do you mean that you have a seletor, which shows available languages,
you would like select the language, you want to have in FE.
The be selection then relates with FE languages.
FE language(s) has been set in TS config. You can't use that in BE forms
for using configured language as the default BE language.
Maybe you can XCLASS alt_doc.php but I doubt that there is a BE function
getting data from TS config because BE doesn't need that information.
More information about the TYPO3-dev
mailing list