bbeer Posted August 26, 2014 Share Posted August 26, 2014 Hi All I am in setting up a multi language site. Now when I try to change the title field in the in administration Language I get following error Recoverable Fatal Error: Argument 3 passed to LanguageTranslator::textdomainTemplate() must be of the type array, null given, called in /path/aurora/wire/modules/LanguageSupport/LanguageTranslator.php on line 389 and defined (line 106 of /path/aurora/wire/modules/LanguageSupport/LanguageTranslator.php) Guess I made a mistake when translating the backend. I've added the german translation files to the default language. Your help is much appreciated. Link to comment Share on other sites More sharing options...
pwired Posted August 26, 2014 Share Posted August 26, 2014 Did you check your language setup ? ==============================================================================Begin of Language setup1.After a fresh install of processwire go to Modules => Core => Language =>Install Language SupportClick on the back button in your browserInstall Languages Support FieldsClick on the back button in your browserInstall Languages Support Page NamesClick on the back button in your browserInstall Languages Support Tabs2.Go To Setup->Languages and add new languages. Please note, that the default one is also the default language of your site.Add new languages with name and title:name: default Title: Default (e.g. german)name: english Title: Englishname: spanish Title: Spanish3.SET URL FOR EVERY LANGUAGEGo to Pages => Home => Edit => Settingsand under each language tab setup a url for every language,e.g. default = de/ de english = en/ en spanish = es/ es4.Go to Setup => FieldsChange title field from PageTitle to PageTitleLanguageChange headline field from Text to TextLanguageChange body field from Textarea to TextareaLanguage and then go to Setup => Fields => Body => Details => inputFieldtypeChange inputFieldtype from Textarea to TinyMCEChange sidebar field from Textarea to TextareaLanguageExample use:Go to Pages and edit your About Us pagego to Headline and edit About Us in the 3 languages e.g. Über uns - About Us - Sobre NosotrosEnd of Language Setup============================================================================== 2 Link to comment Share on other sites More sharing options...
bbeer Posted August 26, 2014 Author Share Posted August 26, 2014 Hi pwired thanks for your help. I did the setup the way you write above. It is also kind a working except that I can't rename the default language title, returning the error mentioned above. I really hope there is another way than to do a complete new install, have already quite lot of modules installed, fields added and so on. I think the problem is that I've added the german language files to default language in pages=>setup=>languages=>default. Hopefully there is another way to solve this. Thanks again! Link to comment Share on other sites More sharing options...
Manfred62 Posted August 27, 2014 Share Posted August 27, 2014 I tried this on my local installation. German files are in the default language (single language). Changing the title from Default to Deutsch was no problem. Link to comment Share on other sites More sharing options...
bbeer Posted August 27, 2014 Author Share Posted August 27, 2014 well just tried that again. the system throws the same error again, like mentioned above. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now