Adding Translations

Any other shit you want to talk about.

Adding Translations

Postby Webase » 2005-05-31 07:32 pm

I'm wanting to add translated versions to my website, what would be easiest way to do that? Multi-languages.

I plan on use rewrite engine, so I'd look like this:
http://www.webasenet.com/lang_name/

Any idea?
Image
Webase
Member
 
Posts: 14
Joined: 2005-04-10 03:18 pm

Postby Jeremy » 2005-05-31 09:38 pm

well, how is your website currently structured? just static html files, or do u use a cms of some kind?
Jeremy
Supreme Diety
 
Posts: 8922
Joined: 2003-05-05 04:41 pm
Location: NJ, USA

Postby Webase » 2005-06-01 04:53 pm

I made my own script, it uses PHP/MySQL with rewrite: details.php?id=# becomes webhost/#.html

I liked the aardvark system for translation could you please explain me how it works?

What you do is, get the language with _GET, then add the correct language file according to $_GET['lang'], the $string values will be updated with the language file?
Image
Webase
Member
 
Posts: 14
Joined: 2005-04-10 03:18 pm

Postby Jeremy » 2005-06-01 06:58 pm

you just have a whole bunch of translations sitting in a directory, like i do. then, based on some factor (could be a GET request), you include one o the translations. then every bit of text is $LANG['hello'] instead of just hello.
Jeremy
Supreme Diety
 
Posts: 8922
Joined: 2003-05-05 04:41 pm
Location: NJ, USA

Postby Webase » 2005-06-03 03:45 pm

It show the same page in all languages, would SE's consider that as spam/cloned pages?
Image
Webase
Member
 
Posts: 14
Joined: 2005-04-10 03:18 pm

Postby Jeremy » 2005-06-03 04:25 pm

i doubt it. the content would be completely different, as far as the search engine is concerned, simply because it is in a different language
Jeremy
Supreme Diety
 
Posts: 8922
Joined: 2003-05-05 04:41 pm
Location: NJ, USA

Postby Webase » 2005-06-04 06:16 am

Ok, thanks a lot for the support!
Image
Webase
Member
 
Posts: 14
Joined: 2005-04-10 03:18 pm


Return to Other

Who is online

Users browsing this forum: No registered users and 0 guests