Hi all,

I just joined this group. I am new to web2py. I need to create a site with 
several languages. I will use the T feature for menu items and the like, 
and the db content will be translated as well. I have several questions:

 1) Is there a DEFAULT / PREFERABLE / STANDARD / SUGGESTED / BEST PRACTICE 
way to internationalize the DB CONTENT with web2py. Is there a manual? A 
video tutorial? If not, is there going to be any default standard practice 
to internationalize the db content in the future? My preferences are the 
simpler / faster the better.

(I am aware of the http://www.vimeo.com/7520812 (*) tutorial on 
internationalization and it does not seem to cover the db content)


More specifically I am curious about:

 

2) What is the preferable URL structure?

 Should it be 

 

  mysite.com/en/….

  mysite.com/fr/….

  mysite.com/otherlang/….

 

as discussed in 
http://www.mail-archive.com/[email protected]/msg33420.html

 

or should I prefer not to change the URL structure as the (*) tutorial seem 
to suggest?

 

3) Is there a preferable db structure?

 

Should I have one table like 

 

customer

-----------

id

lang

other fields

 

or should I have separate tables for each language like

 

Customer_en          Customer_fr          Customer_otherlang

-----------                   -----------                -----------

id                            id                        id

other fields              other fields           other fields

 

or anything else?


Please help. 


Thanks

Reply via email to