after looking around some hours and no hit in searching the forum hopefully I will get an answer here.
I have now successfully localized nearly all of my WEB but don't find a solution to localize the $sitename which is included in the configuration file.
There are a lot of references to the $sitename in a lot of files but nowhere with a reference to the languages.
Anyone can give me a hint?
I'm not really experienced in php therefore I can't realize my ideas how to do it. I think there are some possibilities:
1) Substitute the parameter $sitename in the configuration.php by $sitename_de, $sitename_en and so on. (Not very nice)
2) Put something in the language overrides files. But what?
3) Patch the index.php of your template somewhat like this:
Code: Select all
$app = JFactory::getApplication(); $this->title = $this->title." - (here a php statement case or if looking for current language and echoing "localized sitename");
I would appreciate any help, thanks in advance.