Pages: [1]
Tags: LANG SPANISH ADMIN ASSISTANT NADA
  Author: Topic: Adding another Language Pack
offline azadmin
Last Visit: 05/11/05

Level 2
Joined: 08/13/04
Forum Posts: 35
 Adding another Language Pack
 Posted on: 11/07/04 at 16:05:59

I just added the Spanish Language pack went to Lang admin, added the new lang. Now when I try to change Language, nada.
Yes, I checked the  box in admin assistant..

grin



My generic signature...
Logged
     
offline On
Last Visit: 05/20/06

Level 7
Dev
Joined: 06/19/03
Forum Posts: 6737
 Re: Adding another Language Pack
 Posted on: 11/07/04 at 16:10:26



azadmin wrote:
I just added the Spanish Language pack went to Lang admin, added the new lang. Now when I try to change Language, nada.
Yes, I checked the  box in admin assistant..




Check cgi-bin/lang/languages.dat and delete the extra lines there.





"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
(Damian Conway from the book Perl Best Practices).



[*]LANGUAGE FILES (and language support) -> http://www.mlapp.org... external link
[*]FOR THE LATEST WEB-APP SECURITY PATCHES -> http://www.mlapp.org... external link
[*]FOR THE LATEST WEB-APP MODS (addons) -> http://www.web-app.net... external link  /perl/webapp/modapp/
[*]FOR THE LATEST VERSION OF STATSLOG script (security addon) -> http://www.mlapp.org... external link
[*]TO CONTACT ME CLICK HERE-> info@mlapp.org OR VISIT-> http://www.mlapp.org... external link
 


[/center]
Logged
       
offline azadmin
Last Visit: 05/11/05

Level 2
Joined: 08/13/04
Forum Posts: 35
 Re: Adding another Language Pack
 Posted on: 11/08/04 at 01:31:24

well, it's the fish person. How is the doorman thing coming along? (Oops, I am not allowed to mention Mods here) Anyway, I did that. I even set English to 0. Where is this field set? Strange.. I have the box checked to hide memberlist and that does not work. I am sensing a pattern here. Any Ideas?



My generic signature...
Logged
     
offline On
Last Visit: 05/20/06

Level 7
Dev
Joined: 06/19/03
Forum Posts: 6737
 Re: Adding another Language Pack
 Posted on: 11/08/04 at 04:10:26



azadmin wrote:
well, it's the fish person. How is the doorman thing coming along? (Oops, I am not allowed to mention Mods here) Anyway, I did that. I even set English to 0. Where is this field set? Strange.. I have the box checked to hide memberlist and that does not work. I am sensing a pattern here. Any Ideas?



Doorman: sooon..........
Langauge: download the file manually via ftp and fix it.  I am not sure it will help as you are the 2nd person to mention the same problem within 2 days. If it doesn't then we know.. that we have a bug. Would therfore appreciate it if you could give us a feedback.

The file is at: cgi-bin/lang/langauges.dat   open it in a text editor and remove the last 4-5 lines, there should one.. or no extra lines at all on that file!  you can also add your langauge there manually, just follow the pattern you see at the original file.





"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
(Damian Conway from the book Perl Best Practices).



[*]LANGUAGE FILES (and language support) -> http://www.mlapp.org... external link
[*]FOR THE LATEST WEB-APP SECURITY PATCHES -> http://www.mlapp.org... external link
[*]FOR THE LATEST WEB-APP MODS (addons) -> http://www.web-app.net... external link  /perl/webapp/modapp/
[*]FOR THE LATEST VERSION OF STATSLOG script (security addon) -> http://www.mlapp.org... external link
[*]TO CONTACT ME CLICK HERE-> info@mlapp.org OR VISIT-> http://www.mlapp.org... external link
 


[/center]
Logged
       
offline azadmin
Last Visit: 05/11/05

Level 2
Joined: 08/13/04
Forum Posts: 35
 Re: Adding another Language Pack
 Posted on: 11/09/04 at 22:23:28

Thanks for the Doorman update...
I got the Spanish.lng to work by using another Spanish.lng file. I think there is a bug (A little one mind you) in the First file I tried. frown
I checked for every ' [ } " and ; but, I did not see anything out of wack



My generic signature...
Logged
     
offline On
Last Visit: 05/20/06

Level 7
Dev
Joined: 06/19/03
Forum Posts: 6737
 Re: Adding another Language Pack
 Posted on: 11/10/04 at 00:13:04


azadmin wrote:
Thanks for the Doorman update...
I got the Spanish.lng to work by using another Spanish.lng file. I think there is a bug (A little one mind you) in the First file I tried.
I checked for every ' [ } " and ; but, I did not see anything out of wack



To check a language file, I would recommend you to use "the double or naffin technique" (developed by fish & co 2003 lol).

What you do is this:
Copy paste in half of a new language file into a functional language file (any language), and upload, if it works, copy paste half of what left... and so on until you start getting the errors. a missing ";" or a wrong "  somewhere are most typical, but it worths checking at the begining usually to check if the admin and gusts were translated...

But since it works anyhow.. you dont need to :)





"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
(Damian Conway from the book Perl Best Practices).



[*]LANGUAGE FILES (and language support) -> http://www.mlapp.org... external link
[*]FOR THE LATEST WEB-APP SECURITY PATCHES -> http://www.mlapp.org... external link
[*]FOR THE LATEST WEB-APP MODS (addons) -> http://www.web-app.net... external link  /perl/webapp/modapp/
[*]FOR THE LATEST VERSION OF STATSLOG script (security addon) -> http://www.mlapp.org... external link
[*]TO CONTACT ME CLICK HERE-> info@mlapp.org OR VISIT-> http://www.mlapp.org... external link
 


[/center]
Logged
       

  Adding another Language Pack
  Language Support
  Forums
  
Pages: [1]
Hop to: