Page 1 of 1

Change vicidial language

PostPosted: Fri Sep 25, 2009 10:22 am
by albokos
Hello everyone!

so i'm back with another newbie request so all you great masters don't laught

My question is how can i change vicidial language. My english is not good but my boss english is a pity so he asked me to do something to change the laguage on both admin and agent interfaces.

i guess this info can be find in the manuals but it is going to take a while before i get them so i ask !!!!!!!!

All help is welcome.

Thank you in advance

PostPosted: Fri Sep 25, 2009 1:36 pm
by gardo
What language are you referring to? Vicidial supports a number of them.

PostPosted: Sat Sep 26, 2009 6:57 am
by albokos
i would like to change it in french. How can i do tihs???

Thanks

PostPosted: Mon Sep 28, 2009 3:51 am
by gardo
You can check the "translations" folder on the Astguiclient/Vicidial zip file. If I'm not mistaken, it has a French version for the admin and agent interface.

PostPosted: Mon Sep 28, 2009 8:25 am
by albokos
I've found the folder and there is a french translation but how can i deploy it ??? thanks!

PostPosted: Mon Sep 28, 2009 8:26 pm
by williamconley
albokos wrote:I've found the folder and there is a french translation but how can i deploy it ??? thanks!
At the risk of picking on you, this is from the first few lines of the fr_language.txt file:

# fr_language.txt - this file is for the internationalization of the astGUIclient
# client web pages. The associated install.pl file will take the language as an
# argument and alter the php scripts to the language typed in the command line:
# example: ./install.pl --language=fr
# current languages in the file:
# - English - (en) no alterations
# - French - (fr) second column


I would pay particular attention to the "example:" line

./install.pl --language=fr

install.pl is in the main astguiclient folder. I suspect that is where you would run it from.

PostPosted: Mon Sep 28, 2009 9:46 pm
by mflorell
I think I should update that. That's not what you should do.

Just copy the agc_fr and vicidial_fr directories to your webroot and go to vicidial_fr or agc_fr in your web browser and you are there.

PostPosted: Tue Sep 29, 2009 3:11 am
by gardo
Definitely needs an update. :D

The agc_X and vicidial_X folders still need to be manually copied to the web root folder.

PostPosted: Tue Sep 29, 2009 9:06 am
by albokos
Thanks to all of you! i'm a real idiot! i will pay more attention next time thanks for the help
:oops: :oops: :oops: :oops: :oops: :oops: :oops: :oops: :oops:

PostPosted: Tue Sep 29, 2009 9:49 am
by albokos
Iwent through the solution (i manually copy the french folders in my webroot) but something is still not ok. when i log in the agent interface (agc_fr/vicidial) i do but, i got a message in background something like a warning on my browser.


when i do the same thing for the admin interface, i've got nothing but warnings on my browser.

Warning: fopen(./project_auth_entries.txt) [function.fopen]: failed to open stream: Permission denied in /var/www/vicidial_fr/admin.php on line 1702

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vicidial_fr/admin.php:1702) in /var/www/vicidial_fr/admin.php on line 1710

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vicidial_fr/admin.php:1702) in /var/www/vicidial_fr/admin.php on line 1711
Login ou mot de passe invalide: |||

i'am a bit perplexe :?:

PostPosted: Tue Sep 29, 2009 10:08 am
by williamconley
is that file there and available for read/write? (check your old installation and copy the file if necessary)

PostPosted: Tue Sep 29, 2009 11:09 am
by albokos
Thanks for reply

i've copied the ./project_auth_entries.txt in my vicidial folder
i''ve check it is available in reding and writing (chmod 755)
i've restarted vicidial and apache2

result= nothing still the same problem

i keep searching but any idea!!

PostPosted: Tue Sep 29, 2009 11:16 am
by williamconley
where did you place this file, exactly? (it is looking in ./ ... depending on where you are, this may NOT be the vicidial folder ... it may need to reside elsewhere, or it may not have permission to write in your _fr folder, because the permissions may not be correct for the entire folder)

PostPosted: Tue Sep 29, 2009 11:46 am
by gardo
What you can do is overwrite the default "agc" and "vicidial" folders respectively with the "agc_X" and "vicidial_X" language. You then need to change the file permissions of the new php files so that it's executable. You can do this by running the following commands:

1. cd agc
2. chmod 755 *.php
3. cd ../
4. cd vicidial
5. chmod 755 *.php

That should solve your permission problems.

PostPosted: Tue Sep 29, 2009 12:17 pm
by albokos
GOT IT!!!!!!!!!!

I just have to copy the projetc_auth.... file in my vicidial_fr, give read/write rigths on the folder (chmod 777), change the ownership of the file and set it to user=> www-data and group=> www-data with rights 755

It works fine!!!!!!!

Thanks again

Re: Change vicidial language

PostPosted: Fri Apr 19, 2013 4:30 am
by steffen123
Just in case anyone stumbles over the problem of the OP in the future, I used the following commands to do the copying and I didn't have to do any permission changes, it just worked (note: this is with the SVN version).

cp -a /usr/src/astguiclient/trunk/LANG_www/agc_de /var/www/
cp -a /usr/src/astguiclient/trunk/LANG_www/vicidial_de /var/www/