Jump to content

Wordpress + LiveZilla translation

wordpress translate

2 replies to this topic

#1 ubiemediaino


  • Members
  • Pip
  • 2 posts

Posted 27 July 2016 - 02:38 PM

Hello, I have a problem with LiveZilla translations on my Wordpress site. At the moment, as far as I understand, LiveZilla translates itself by regional settings of computer the active user is on. Now I need to make LiveZilla first check the Wordpress current language and based on that language I should give the corresponding language file from _language folder for LiveZilla to use.

Does anyone know how I could do that? There is a global variable $LZLANG, but I need some help finding where I could set it to be the same as my current Wordpress language. Thank you.

#2 BurakUeda

    Advanced Member

  • Members
  • PipPipPip
  • 88 posts

Posted 29 July 2016 - 06:14 AM

Hi ubiemediaino,
Theoretically you can.
In Server Admin >> Link Generator, if you select a language (any) instead of automatic, it will add this language variable to the query string:
where XXXX is base 64 encoded language code. For example, el=amE_ is ja for Japanese.
All you have to do is match your WP language code with LZ language code and base64 encode it.

#3 ubiemediaino


  • Members
  • Pip
  • 2 posts

Posted 01 August 2016 - 07:00 AM

Nice, thank you, it works.

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users