>Another possible alternative way to do it - 
>declare the language in your data template.
>ie 
>cp themes/slashcode/templates/data\;misc\;defaults themes/slashcode_CN/templates/.
>edit the themes/slashcode_CN/templates/.data\;misc\;default
>change language to zh_CN
>then add a case statement
>[% CASE 'button_createnew' %] ...

Great! I'll try your way tomorrow.

>when I hit http://slashdot.org/search.pl or when I choose 'search' from the front page of slashdot, it uses >slashcode's search.pl to dish results. So I'm not sure you're correct when you're saying Slashdot's >switched to google's site search tool.

Several days ago, I saw the top-right search bar on Slashdot's homepage changed to Google Search. I just visited Slashdot, they are back to Slash own search now. Maybe they are test something?

On 7/6/06, shane <shane@lottadot.com> wrote:
re: slashdot search using google

when I hit http://slashdot.org/search.pl or when I choose 'search' from the front page of slashdot, it uses slashcode's search.pl to dish results. So I'm not sure you're correct when you're saying Slashdot's switched to google's site search tool.

maybe, but i'm not seein it.

 Shane

On Jul 5, 2006, at 4:03 PM, Jesse Lee wrote:

In addition,  there is an other hard problem, Chinese Search.
We have changed some codes, but still not work. My partners they are all good at Perl, but Chinese search is difficult. We've given it up, now using Google Site search instead of it. We also noticed Slashdot recently changed to use Google Site Search too.

Sorry for my English.

On 7/6/06, shane < shane@lottadot.com> wrote:
On Jul 4, 2006, at 2:50 PM, Jesse Lee wrote:

Thanks for your replies.

There are some changes, But we haven't sorted them out. Also the Chinese theme hasn't been finished yet.
We've planed to release a UTF-8 Chinese Version of Slash. Lots of things to do, except above mentioned, there are some documentations such as Chinese install guide, Chinese FAQ, etc.
When we are done these, we will post the code changes and other stuff to this list and Slashcode.com.

Please give us some time.

Jesse
On 7/3/06, Jamie McCarthy < jamie@mccarthy.vg > wrote:
jesse.solidot@gmail.com (Jesse Lee) writes:

> Original slash doesn't support other languages other than
> English, especially some codes of East Asian Languages such as
> Chinese and Japanese. We don't think i18n/l10n is on you guys'
> development agenda. We have modified code, now slash can natively
> run on UTF8 based Chinese language environment without problem.

No, it hasn't been on our agenda, unfortunately.  I'm very
interested in incorporating your changes back into our code if it
can be done without turning things upside down for us.  If so,
that might make future upgrades for you go more smoothly.

> When we finish, we would like to let developers at slashcode.com
> know. You are welcome to include this utf8 Simplified Chinese
> language packs and database files in your future releases.

Please do let us know (on this mailing list, if you like).  And
congratulations on getting it all working.
--
  Jamie McCarthy
http://mccarthy.vg/
   jamie@mccarthy.vg


Did you by chance attempt to make use of the "language" field within the templates?

ie

__lang__
en_US


I'm also curious as to how you handled the form submission buttons. Some of them, if memory serves, are hard-coded-ops.

Congrats on the work!

 Shane




Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
_______________________________________________
Slashcode-general mailing list