build language-files

Discussions about development of VICIDIAL and astGUIclient

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

build language-files

Postby Michael_N » Mon Apr 18, 2011 3:56 pm

I have
VERSION: 2.4-307a
BUILD: 110408-0433
clean install

I am trying to build /usr/src/astguiclient/trunk/LANG_www/agc_dk


dialer:/usr/src/astguiclient/trunk/bin #
with this command:
perl ./build_translation_www_files.pl --client-only --language=dk

This is the result, I have a dk_language.txt file in

/usr/src/astguiclient/trunk/translations/

----- LANGUAGE WEB SCRIPT ONLY BUILD -----


----- CLIENT PAGES ONLY BUILD -----

can't open ./translations/dk_language.txt: No such file or directory


What have i done wrong?

Regards

Michael
Michael_N
 
Posts: 687
Joined: Wed Jul 05, 2006 3:13 pm
Location: sweden

Postby mflorell » Mon Apr 18, 2011 3:57 pm

You have to copy the translations directory to your web directory before you run the translations.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby Michael_N » Mon Apr 18, 2011 4:02 pm

like this?

/srv/www/htdocs/translations/
Michael_N
 
Posts: 687
Joined: Wed Jul 05, 2006 3:13 pm
Location: sweden

Postby mflorell » Mon Apr 18, 2011 4:07 pm

that should work, and then you need to run the translation script from the /srv/www/htdocs directory.

Let us know how it goes for you.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby DarknessBBB » Mon Apr 18, 2011 4:33 pm

I use the OP method, and it works flawless!
DarknessBBB
 
Posts: 328
Joined: Mon Jul 16, 2007 10:14 am

Postby Michael_N » Mon Apr 18, 2011 4:55 pm

it did create a agc_dk and a agc_en directory

Copied content to /srv/www/htdocs/agc/ directory

The page will not load after i enter phonelogin and username

and chose campaign
Michael_N
 
Posts: 687
Joined: Wed Jul 05, 2006 3:13 pm
Location: sweden

Postby mflorell » Mon Apr 18, 2011 6:13 pm

Any Firefox Error Console entries?
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby Michael_N » Mon Apr 18, 2011 10:59 pm

error: unterminated string literal
sourcesfile: http://10.10.10.103/agc/vicidial.php
line: 2235

error: begin_all_refresh is not defined
sourcefile: http://10.10.10.103/agc/vicidial.php
line: 1
Michael_N
 
Posts: 687
Joined: Wed Jul 05, 2006 3:13 pm
Location: sweden

Postby mflorell » Tue Apr 19, 2011 11:06 am

Can you post the lines around 2235 when you do a "view source" on that page?

This is usually caused by a single word that is also a variable being translated into two separate words. Or maybe something related to an accent.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby Michael_N » Tue Apr 19, 2011 1:56 pm

I did locate error, it was a typo in translationfile.
Michael_N
 
Posts: 687
Joined: Wed Jul 05, 2006 3:13 pm
Location: sweden


Return to Development

Who is online

Users browsing this forum: No registered users and 180 guests