Hi,
Recently I've received the assignment to develop all of our products
(software modules) with support for multiple languages.  In order to avoid
problems with things like japanese (or other non iso8859-1) I've switched
all the environment to use utf-8.  Database tables, files and webserver will
all output utf-8 as default for the 'new' products.

My next step is to decide how to better support this feature in the model/db
and php itself since the admin user will have to choose which language
he/she will be using for that news entry (for example) so that if the end
user chooses to view the english version of the site he/she will only see
those news entries that were inserted as such.

Why am I asking this here:
a)I am using ZF for all new products so I'd like to know if there is any
component to help me out
b) Probably someone has/has the same problem
c) I do not want to reinvent the wheel more than I have to

>From the model standpoint seems that adding a column lang to the tables that
hold the information a safe choice.  But how about the views?  Should I
create separate views, one for each supported lang, should I create just one
with variables for all strings/buttons (and those coming from a ini/xml
file)?

Thanks.

Reply via email to