jDiction Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

jDiction 2.2.0 released. http://jdiction.org/downloads

Author Topic: Best Practice to change the Default Language  (Read 318 times)

aelias

  • Newbie
  • *
  • Posts: 8
    • View Profile
Best Practice to change the Default Language
« on: October 17, 2017, 11:13:50 am »

Hi jDiction Team (Harald),

I have to change the default language of my site. What is the best way to do this?

I've tried to change the joomla default language, but the outcome is not what I've expected  ??? . The translation is all gone and the site only shows previous selected default language for all languages.

I've also try the steps in: https://forum.jdiction.org/index.php/topic,853.msg3392.html#msg3392 :
Quote
jdiction does only translate non default lanuages. The only thing you can do is to change the default language to english, export the turkish and english language, change the default language to turkish and report both languages.
and it's not working. I can only export the translation but not the default language.

So I want to ask you, are there any step by step guide for changing the default language? I will be grateful. Thanks in advance.

Regards

Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
    • View Profile
Re: Best Practice to change the Default Language
« Reply #1 on: October 17, 2017, 11:48:02 am »

You should be possible to export the default language...

I tested it on my site and I get the default language without problems...
Logged

aelias

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Best Practice to change the Default Language
« Reply #2 on: October 20, 2017, 06:56:15 pm »

Hi Harald,

When you export the default language, was it through the jDiction export function or do you have to export the default language manually from the joomla database ?

Thanks.
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
    • View Profile
Re: Best Practice to change the Default Language
« Reply #3 on: October 21, 2017, 02:01:27 pm »

Using jdiction Export to CSV, Check the content of the Export es File please.
Logged

aelias

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Best Practice to change the Default Language
« Reply #4 on: October 23, 2017, 11:42:43 am »

alright. thanks Harald
Logged

aelias

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Best Practice to change the Default Language
« Reply #5 on: December 07, 2017, 02:29:26 pm »

Hi Harald,
I'm still having problem changing the default language on my website. :'(

I've update joomla to 3.8.2 and jdiction to 2.1.0

Export old default language EN: source en to target en - result csv file - done
Export old translation language DE: source de to target de - result csv file - done

switch the default language in Extensions>Language(s) by clicking on the default "star" column from EN to DE (I want DE as default now.) - done

Import the csv files back - done

Result:
EN Site: all in english
DE Site: all in english
Content in article: all english (expected: all DE)
Translation in article: all gone (expected: all EN)


Do I do all the steps in the right order? Or should I do something else? I'll appreciate it, if you can point me to the right direction. Thanks a lot.
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
    • View Profile
Re: Best Practice to change the Default Language
« Reply #6 on: December 07, 2017, 03:13:39 pm »

Sound's good, but at the moment I'm working on the exporter that doesn't correctly export target language and it seams the new one has some problems category, menu and modules and tags...

maybe I come back today with a new version.

In the meantime it would be great if you code test:
http://update.jdiction.org/packages/pkg_jdiction/git/pkg_jdiction-2.1.1-git.c87142e.zip
Logged