RE: phpslash in spanish...

"Luis M" <[email protected]> Tue, 02 Mar 2004 10:37:12 -0500
Newsgroups gmane.comp.cms.phpslash.user
Message-ID <[email protected]>
(I'm forwarding a copy of this to the phpslash-users list where this kind of 
questions can help all phpslash users in general)

Hello Pedro,

>Hi Luis, I'm currently working on a web site using phpslash in spanish. 
>I've been reading the phpslash forum, but I have not been able to translate 
>the site into spanish. I have the es.php file under the include folder and 
>changed and the default language setting from en(english) to es(spanish) in 
>the config.ini.php without any success. I may be missing some steps and 
>that's what prompt my email to you. Could you please tell me what steps 
>should I take to translate the site successfully to spanish? Are there any 
>other fixes that you know I should incorporate into the phpslash that I 
>have installed? What other problems that you know that I should take into 
>account before launching the site?
>

You have done well, there are other strings that don't get translated from 
the locale es.php files ( class/locale/es.php ). That means that even if you 
changed the default language in the config.ini.php file, you still might 
need to "fork" the themes located inside "public_html/templates".
Inside that directory you will see a "en" directory that holds all 
templates. Essentially, you will need to create a "es" directory and inside 
this directory, create a directory for whichever theme (skin) you will be 
using, let's say "basiccurves" or whatever skin you choose. Now, you will 
need to copy from "en/basiccurves" the files to "es/basiccurves" and 
translate the non-html strings. Lastly, inside "es/basiccurves" you should 
have a file named "skin.ini" that contains a line like the following:

skin.parent = "../en/basic"

This tells phpslash to use files from the previous directory, english 
language, basic skin, whenever it needs a file that is not part of the 
spanish (es) basiccurves directory that you created.

I hope this helps. In general, it would be good if you subscribe to the 
phpslash-users list and ask questions there. However, it is fine if you send 
me your questions directly.


>I installed phpslash 0.7.2 under windows. Thanks in advance for any 
>pointers.
>

Windows rocks! :-D

(j/k, just to create some flamewars for those zealous Linux users who read 
the phpslash-users list).

As a general rule, we are not aware of any problem specific to Windows. 
phpslash seems to run just as good on all platforms.

Last thing, we are in the process of releasing phpslash-0.8 which is also 
very stable, but, still going through some testing. We would appreciate the 
feedback.
Also, 0.8 will have better support for translations.

>Regards, Pedro Martinez
Hey, you don't happen to be related to the baseball player uh?

----)(-----
Luis Mondesi
System Administrator
LatinoMixed.com

"We think basically you watch television to turn your brain off, and you 
work on your computer when you want to turn your brain on" -- Steve Jobs in 
an interview for MacWorld Magazine 2004-Feb

No .doc: http://www.fsf.org/philosophy/no-word-attachments.es.html

_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis ! 
http://www.msn.fr/msger/default.asp



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click