Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Hi ! How can i change default lang for chat ? not in a widget (i know how to do it) , i meant I use a direct link like this:
http://MYSITEWITHLHC/index.php/chat/startchat/true?prefill%5Bemail%5D={$client_email}&prefill%5Bquestion%5D=Soy%20Cliente&prefill%5Busername%5D={$client_name}
But Shows alwasy in English i need in spanish.
I change default lang in Settings but default keeps
Offline
Hi, you can set the default widget language when you generate the embed code.
PeopleInside - Live helper chat - free limited forum support!
For commercial support or GitHub [see FAQ here]
If you want to support this open source project, just donate [see support page]
Something wrong with the forum? [contact a superhero]
Offline
Hi, you can set the default widget language when you generate the embed code.
You didnt read my post.
its not for embed code, I meant for direct link to my website
Offline
Sorry, in that case I cannot help. I believe is not possible or I don't know how to do. If you really need this you can try to open a topic in GitHub. Before do this please try to check the documentation on the Live Helper website.
Thanks.
PeopleInside - Live helper chat - free limited forum support!
For commercial support or GitHub [see FAQ here]
If you want to support this open source project, just donate [see support page]
Something wrong with the forum? [contact a superhero]
Offline
Before do this please try to check the documentation on the Live Helper website.
Thanks.
In changed in settings.ini.php , 'locale' => 'en', to 'locale' => 'es_MX',
[== PHP ==]
<?php
return array (
'settings' =>
array (
'site' =>
array (
'title' => 'Live helper Chat',
'site_admin_email' => '',
'locale' => 'es_MX',
'theme' => 'defaulttheme',
'installed' => true,
And for english i will use a widget or code for my english websites. but my default lang is Spanish now
Offline
Hi,
do you have read in the documentation to edit the file settings.ini.php?
Usually I think edit code is not a good idea and made LHC broken for some user. You do at your risk.
In the admin operator panel of LHC there are all settings necessary for set the language but for have a direct link to the language this I think is not possibile.
You can create different Embed code with different default language so maybe from the pop up you are able to take the relative direct link.
Happy you have solved or found a solution for you.
Thank you for the feedback also if edit code is not suggested by me.
PeopleInside - Live helper chat - free limited forum support!
For commercial support or GitHub [see FAQ here]
If you want to support this open source project, just donate [see support page]
Something wrong with the forum? [contact a superhero]
Offline
Lets clarify:
1. Embebed code and widget is always in javascript, a need a direct url link to my chat with parameters like i described above, because I need it to do it inside my emails (using sendgrid)
Is it possible to pass lang parameter in direct link ?
2. editing settings.ini.php is not recommended but its the only solutions i found.
3. you said "In the admin operator panel of LHC there are all settings necessary for set the language " but i not find how to change public default lang.
Offline
1. Embebed code and widget is always in javascript, a need a direct url link to my chat with parameters like i described above, because I need it to do it inside my emails (using sendgrid)
Is it possible to pass lang parameter in direct link ?
You have to open a Topic in GitHub here: https://github.com/LiveHelperChat/livehelperchat/issues but please be specific like your last post https://forum.livehelperchat.com/viewto … 8905#p8905
I think is not possibile at the moment but you can request for the future in GitHub. If will already supported you will be updated by email in the GitHub topic.
2. editing settings.ini.php is not recommended but its the only solutions i found.
that's ok if work in your case. If your LHC was broken and resume the file was not able to fix you have to solve by yourself or I can just suggest a clean install. You lucky it works
3. you said "In the admin operator panel of LHC there are all settings necessary for set the language " but i not find how to change public default lang.
With "public default language" I can understand is widget language because is what visitor see. This can be set when you generate Embed Code.
If you are talking about public operator language than there are relative settings in settings -> language configuration
PeopleInside - Live helper chat - free limited forum support!
For commercial support or GitHub [see FAQ here]
If you want to support this open source project, just donate [see support page]
Something wrong with the forum? [contact a superhero]
Offline
altomarketing wrote:2. editing settings.ini.php is not recommended but its the only solutions i found.
that's ok if work in your case. If your LHC was broken and resume the file was not able to fix you have to solve by yourself or I can just suggest a clean install. You lucky it works
I think there is a need for an FAQ for the settings.ini.php. There are some features that require editing the file directly, for example, activating an extension (https://livehelperchat.com/article/view/57), disable cache (https://livehelperchat.com/article/view/40), etc. The FAQ will clarify what users can edit and the purpose of the setting. It should also mention settings that users should not edit.
Lead developer Wurrd for LiveHelperChat, a mobile client for operators.
Serve your customers on the go! Download now from http://wurrdapp.com/get-it-now/
Forum discussion: https://forum.livehelperchat.com/viewtopic.php?id=2132
Offline
Hi scalior,
thank you for your suggestion for the new FAQ section of the Forum!
I don't agree fully with you on the needs of create a FAQ for edit settings.ini.php and this is my reasons:
If you have to edit the file the relative guide of the extension will says to the user what edit, where edit. Instructions may be different for each extension.
When I update LHC never followed the step to edit the file and disable cache. All my upgrade was done successfully without issue just replace the listed folders.
So I think usually is not really needed touch the code inside settings.ini.php and if is necessary the relative guide to the extension will guide the user.
I think this.
Last edited by PeopleInside (2016-10-26 12:56:40)
PeopleInside - Live helper chat - free limited forum support!
For commercial support or GitHub [see FAQ here]
If you want to support this open source project, just donate [see support page]
Something wrong with the forum? [contact a superhero]
Offline