Get Paid to Participate - up to $1 per post!     Twitter     Facebook     Google+
Hosting Discussion
 

forgot password?



Reply


Old
  Post #1 (permalink)   10-28-2009, 07:11 PM
HD Master
 
Zagor's Avatar
 
Join Date: May 2009
Posts: 366

Status: Zagor is offline
How do you manage different language versions of your site? Do you use some dynamic way to create pages, like PHP, and just pull the content from the database in specific language or do you use clean HTML pages where you keep different versions of the site in separate subfolders/subdomains?
 
 
 


Old
  Post #2 (permalink)   10-28-2009, 11:51 PM
HD Newbie
 
Join Date: Nov 2008
Location: Kansas City, MO
Posts: 36

Status: Joes Datacenter is offline
I would think it would be better to try and build different static pages even use different domains such as mydomain.com and mydomain.dk so search engines can better list your site in the right places. You may have to have the registered nameserver appear to be in these different areas for the search engines to pick up on it but I'm not really sure about that.
__________________
Joe Morgan - Owner
Joe's Datacenter, LLC
http://joesdatacenter.com
Sales@joesdatacenter.com
 
 
 


Old
  Post #3 (permalink)   10-29-2009, 02:38 AM
Hosting Service
 
host1plus's Avatar
 
Join Date: Sep 2008
Posts: 77
Send a message via Skype™ to host1plus

Status: host1plus is offline
Quote:
Originally Posted by Joes Datacenter View Post
I would think it would be better to try and build different static pages even use different domains such as mydomain.com and mydomain.dk so search engines can better list your site in the right places. You may have to have the registered nameserver appear to be in these different areas for the search engines to pick up on it but I'm not really sure about that.
In google webmaster tools you can add link to you multi local language websites. I am talking about it:

If your website is multi-language and .com is in example - english, so russain language will be .com/ru/ and you can add it too google, but not in yahoo Sitemam will be attached too if .com have it too.

When you have multi-language website, your website worth is bigger, because there is more content (pages, text,diferent languages)

There you can setup title, meta too.

So I think it depends from your needs. A?
__________________
Host1Plus.com - Professional Multi-Location Web Hosting Service.
Providing Unlimited Bandwidth And Disk Space.
Friendly And Operative 24/7 Support Team.
Get The Best Service With 99.9% Uptime!
 
 
 


Old
  Post #4 (permalink)   11-10-2009, 08:37 AM
HD Master
 
Zagor's Avatar
 
Join Date: May 2009
Posts: 366

Status: Zagor is offline
Quote:
Originally Posted by Joes Datacenter View Post
I would think it would be better to try and build different static pages even use different domains such as mydomain.com and mydomain.dk so search engines can better list your site in the right places. You may have to have the registered nameserver appear to be in these different areas for the search engines to pick up on it but I'm not really sure about that.
When it comes to HTML I like the subfolder variant more, because PageRank is not passed from domain to subdomains. For PHP both doesn't matter. But I don't know PHP.
 
 
 


Old
  Post #5 (permalink)   11-10-2009, 08:59 AM
CSN-UK | Charlie
 
csn-uk's Avatar
 
Join Date: Mar 2009
Location: Swindon (UK)
Posts: 470
Send a message via MSN to csn-uk

Status: csn-uk is offline
Personally id use PHP and the technique for this is fairly simple and there is no need at all to use a database for this. Instead the use of variables and PHP language files by which it means you can use variables such as “$mysitename” and within your index.php (example) you then rather than hardcode the text into the file instead you place the variable in its place for example

<?php echo $mysitename; ?>

To make more sense of this “my name is Joe blogs” could be replaced with “my name is <?php echo $mysitename; ?>” which would provide the same output though it will show whatever is held within the variable $mysitename.

You can then include the correct language file with the include function, more so you can go further to use a statement to check the location of the user and load a specific language by default. Though there are a number of tutorials on this easily found via google

http://php.about.com/od/advancedphp/qt/language_php.htm

hope that helps
__________________
CSN-UK | Shared Hosting | Dedicated | VPS | Custom Packages Avalible On Request | Quality SSL Certificates from COMODO CA
CSN-UK.net | Server Status | Client Area | Live Support

Last edited by csn-uk : 11-10-2009 at 09:01 AM.
 
 
 


Old
  Post #6 (permalink)   11-15-2009, 05:34 AM
HD Newbie
 
Join Date: Nov 2009
Location: kavoir.com
Posts: 47

Status: immediate is offline
I won't make multilingual versions of my sites at all because I want Google to get me only north america traffic. It may seem to get you more content, but at the same time dilutes the geo feature of your site.
__________________
I have a web hosting blog. And I also write about website development.
 
 
 


Old
  Post #7 (permalink)   11-15-2009, 09:38 AM
HD Newbie
 
Join Date: Sep 2009
Posts: 39

Status: mrgilb is offline
I know I've seen some translations extensions for Joomla that might be worth a shot too.
 
 
 


Old
  Post #8 (permalink)   11-16-2009, 06:44 AM
HD Master
 
Zagor's Avatar
 
Join Date: May 2009
Posts: 366

Status: Zagor is offline
Quote:
Originally Posted by mrgilb View Post
I know I've seen some translations extensions for Joomla that might be worth a shot too.
I don't like Joomla that much. I had some disasters in the past with sites running on Joomla. I wonder if there are some plugins for Wordpress?
 
 
 


Old
  Post #9 (permalink)   11-16-2009, 12:51 PM
CSN-UK | Charlie
 
csn-uk's Avatar
 
Join Date: Mar 2009
Location: Swindon (UK)
Posts: 470
Send a message via MSN to csn-uk

Status: csn-uk is offline
Quote:
Originally Posted by Zagor View Post
I wonder if there are some plugins for Wordpress?
As far as im aware there is one built in and if not its almost just as easy to look for a template that uses language files, have a quick experiment and modify the technique for your own template if your unaware currently how to do so.
__________________
CSN-UK | Shared Hosting | Dedicated | VPS | Custom Packages Avalible On Request | Quality SSL Certificates from COMODO CA
CSN-UK.net | Server Status | Client Area | Live Support
 
 
 


Old
  Post #10 (permalink)   11-20-2009, 05:52 PM
HD Master
 
Zagor's Avatar
 
Join Date: May 2009
Posts: 366

Status: Zagor is offline
Quote:
Originally Posted by csn-uk View Post
As far as im aware there is one built in and if not its almost just as easy to look for a template that uses language files, have a quick experiment and modify the technique for your own template if your unaware currently how to do so.
I'm not sure if I understand you correctly. I need this plugin that, for example, adds text editor boxes for translation in the edit post/page page. At the same time plugin can add language buttons to the site which visitor can use to choose his/her language version.
 
 
 


Old
  Post #11 (permalink)   11-20-2009, 06:12 PM
HD Guru
 
siforek's Avatar
 
Join Date: Mar 2009
Location: Salt Lake City, UT
Posts: 663

Status: siforek is offline
I've done this many times, and IMO the best way is to create separate language files or entries into a database for each language. Then you can let your visitors select their language, set it by the referring domain(as Joe mentioned), detect by their user agent, or all of the above.

While I've customized it quite a bit to add all these abilities, WHMCS has the basics build right in If you don't use WHMCS it's really not difficult for someone with even intermediate PHP experience.
__________________
| | Fiber Elephant | | Virtuozzo & Reseller Hosting
█ | Never oversold, always managed & on the SoftLayer network!
█ | Call us toll free 24/7! | 1-888-92-FIBER
 
 
 
Reply

Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Sponsored By: