Jump to content

Recommended Posts

Hello to all!

 

Since 2009 my website is online. It's a french dating site. Now i want to make it available in english too.

 

I wonderring what is the best practice?

 

should i Create a new domain name and separate english and french OR create my actual website multilingue.

 

What do you suggest?

 

Also... for an multilingu website, when a french member register, he will describe himself in french, but if an english member view my site in english and visites a profile of a french member... all will be in english but not the description of the french member...... is it bad or not?

 

Thanks for your precious help!

 

Pascal

Link to comment
https://forums.phpfreaks.com/topic/289102-create-multilingue-website/
Share on other sites

You could do this a number of ways, but I would use a subdomain, like en.yoursite.com. If you create all of your links dynamically, you can change the domain according to the current domain. Actual text content would be stored in language files, and pulled in according to the current domain.

 

I would not try to automatically translate your user's descriptions. Your likely to never have an accurate translation.

thanks for your response sKunkbad,

 

I will not try automatic translate... all do it all myself or with other people in this language

 

You suggest subdomain and i think that was nice!

 

What do you thing betwween this:

 

fr.mysite.com

en.mysite.com

 

of

 

mysite.fr      -> fr version

mysite.com -> en version

 

thanks a lot!

 

Pascal

Hello!!

 

I think subdomain was perfect for me!

 

One more question!

 

How google interpret those url:

 

mysite.com/register   ->english version

fr.mysite.com/register

de.mysite.com/register

 

Does Google interpret it as 3 different url or a unique url?

 

For sure, depending of subdomain, the page register will be in a good translaton!!

 

Thanks a lot!

 

Pascal

Part of the way that Google will determine the language of the page is the lang attribute on the html tag. Obviously the words on the page matter, too. Take a look at some of the popular PHP frameworks to see how they have done localization (i18n). It's really pretty easy to do.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.