Re: [fw-general] Internationalization and the Zend Framework

2007-03-01 Thread Thomas Weidner
end_Locale. Greetings Thomas I18N Team Leader - Original Message - From: "Kevin McArthur" <[EMAIL PROTECTED]> To: "Thomas Weidner" <[EMAIL PROTECTED]>; Sent: Thursday, March 01, 2007 10:24 PM Subject: Re: [fw-general] Internationalization and the Zend Fra

Re: [fw-general] Internationalization and the Zend Framework

2007-03-01 Thread Kevin McArthur
If it reads headers, why not set them. Seems kinda, arbitrary. K - Original Message - From: "Thomas Weidner" <[EMAIL PROTECTED]> To: Sent: Thursday, March 01, 2007 2:11 PM Subject: Re: [fw-general] Internationalization and the Zend Framework Nope... Zend_Loca

Re: [fw-general] Internationalization and the Zend Framework

2007-03-01 Thread Thomas Weidner
AIL PROTECTED]> To: "Gavin Vess" <[EMAIL PROTECTED]>; Sent: Thursday, March 01, 2007 10:01 PM Subject: Re: [fw-general] Internationalization and the Zend Framework Very cool; maybe a method for Zend_Locale to integrate into Zend_Response? ->setVariedResponse() or a better

Re: [fw-general] Internationalization and the Zend Framework

2007-03-01 Thread Kevin McArthur
Very cool; maybe a method for Zend_Locale to integrate into Zend_Response? ->setVariedResponse() or a better name? Kevin - Original Message - From: "Gavin Vess" <[EMAIL PROTECTED]> To: Sent: Thursday, March 01, 2007 1:51 PM Subject: Re: [fw-general] Internationali

Re: [fw-general] Internationalization and the Zend Framework

2007-03-01 Thread Gavin Vess
Perhaps some will find it valuable to elaborate a little more about the issues of serving different content at the same URL based on the value of the HTTP "accept-language" request header. How many crawlers crawl the same URLs multiple times, once for every language they want to "find" at the

Re: [fw-general] Internationalization and the Zend Framework

2007-02-28 Thread Kevin McArthur
ARATOR . $lang); } } This has an integrated view object, which is of course optional. Finally templates will end up in application/views/en/ application/views/fr/ Critiques? Kevin McArthur - Original Message - From: "Juri Kühn" <[EMAIL PROTECTED]> To: Sent:

Re[2]: [fw-general] Internationalization and the Zend Framework

2007-02-28 Thread Juri Kühn
Thomas Weidner wrote: > And I do not think that you want to have a subdir for all 32 locales within > the english language. You're right, that really wouldn't be nice :) The point is to map a language requested by the user to the appropriate language directory. Philippe Le Van wrote: > Traduction

Re: [fw-general] Internationalization and the Zend Framework

2007-02-28 Thread Thomas Weidner
Sent: Wednesday, February 28, 2007 5:58 PM Subject: Re: [fw-general] Internationalization and the Zend Framework Hi, If there is no language in the URL, a search engine can't crowl all the versions of the website. That's why I used the solution #1 in http://www.euromapping.com Trad

Re: [fw-general] Internationalization and the Zend Framework

2007-02-28 Thread Philippe Le Van
ge the layout or the content you have always to change the other languages exact the same way... unnecessary. Greetings Thomas I18N Team Leader - Original Message - From: "Kevin McArthur" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 28, 2007 12:51 AM Subject: [fw-g

Re: [fw-general] Internationalization and the Zend Framework

2007-02-28 Thread Ralf Eggert
Hi Thomas, > Yes this is recognised... > Because the crawler sends within his header the "Accept-Language" field. I was not aware of this. Thanks for clarification! Best Regards, Ralf

Re: [fw-general] Internationalization and the Zend Framework

2007-02-28 Thread Thomas Weidner
A session-based approach is infeasible -- theres no reason why that entire overhead of setting up a session for every user should be involved for simple language determination. When you are only in need of language determination you should only do $locale = new Zend_Locale(); and will have re

Re: [fw-general] Internationalization and the Zend Framework

2007-02-28 Thread Thomas Weidner
Hy Juri, You could have a "application/language" directory, with subdirs named after used locales: application/language/en_US application/language/fr_CA (or without region, just en and fr) This is no good approach... Because a locale is not identical with an language. We have en_US, en_GB, en_

Re: [fw-general] Internationalization and the Zend Framework

2007-02-28 Thread Thomas Weidner
Our multilingual application has the language of the user within the session... Thanks for this very interesting approach! The only problem I see is the search engine crawling. How can a search engine crawl the English, German or Spanish version of your site? Does your system recognize if the Ge

Re: [fw-general] Internationalization and the Zend Framework

2007-02-28 Thread Olivier Sirven
e other > languages exact the same way... unnecessary. > > Greetings > Thomas > I18N Team Leader > > - Original Message - > From: "Kevin McArthur" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, February 28, 2007 12:51 AM > Subject: [fw-general] Interna

Re: [fw-general] Internationalization and the Zend Framework

2007-02-28 Thread Juri Kühn
Hi Kevin, i made some very good experiences using smarty templates with configuration files for multiligual output. All templates and language files are cached by smarty, so performance wasn't really an issue. You could have a "application/language" directory, with subdirs named after used locale

Re: [fw-general] Internationalization and the Zend Framework

2007-02-28 Thread Kevin McArthur
; Cc: ; "ZF I18n" <[EMAIL PROTECTED]> Sent: Wednesday, February 28, 2007 12:46 AM Subject: Re: [fw-general] Internationalization and the Zend Framework Now that conventional modular layouts are supported in the default configuration, for those using only one hostname, what abo

Re: [fw-general] Internationalization and the Zend Framework

2007-02-28 Thread Ralf Eggert
Hi Thomas, > Our multilingual application has the language of the user within the > session... Thanks for this very interesting approach! The only problem I see is the search engine crawling. How can a search engine crawl the English, German or Spanish version of your site? Does your system reco

Re: [fw-general] Internationalization and the Zend Framework

2007-02-27 Thread Thomas Weidner
Now that conventional modular layouts are supported in the default configuration, for those using only one hostname, what about the following? 1. /:lang/:module/:controller/:action 2. /:module/:lang/:controller/:action 3. /:module/:controller/:action/lang/ I'm keenly interested in what others t

Re: [fw-general] Internationalization and the Zend Framework

2007-02-27 Thread Ralf Eggert
Hi, > Now that conventional modular layouts are supported in the default > configuration, for those using only one hostname, what about the following? > 1. /:lang/:module/:controller/:action > 2. /:module/:lang/:controller/:action > 3. /:module/:controller/:action/lang/ For my project I will use

Re: [fw-general] Internationalization and the Zend Framework

2007-02-27 Thread Thomas Weidner
- Original Message - From: "Kevin McArthur" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 28, 2007 12:51 AM Subject: [fw-general] Internationalization and the Zend Framework I'm wondering if anyone has done a multi-lingual site using the ZF yet and is willing

Re: [fw-general] Internationalization and the Zend Framework

2007-02-27 Thread Kevin McArthur
When serving any logical page using the same URL, but with dynamically chosen language content on the page, I would carefully test the results against the search engines you care about, before using that approach. Sometimes practical matters interfere with academics. Good point. Now that conv

Re: [fw-general] Internationalization and the Zend Framework

2007-02-27 Thread Gavin Vess
When serving any logical page using the same URL, but with dynamically chosen language content on the page, I would carefully test the results against the search engines you care about, before using that approach. Sometimes practical matters interfere with academics. Now that conventional mod

[fw-general] Internationalization and the Zend Framework

2007-02-27 Thread Kevin McArthur
I'm wondering if anyone has done a multi-lingual site using the ZF yet and is willing to share their setup. I'm currently developing a site for both English and Canadian French, both output and text-input. I'm fairly well versed on the input side, but how are you guys developing the templating