From: Yves K. <fir...@fi...> - 2004-07-07 23:24:23
|
hi all im not a real developer, but i had to create a small module at work. we need more than one language often in switzerland (4 off. lang's) what i did; i was translating the static content; using your language-module.(eg menu,links,titles) and for the dynamic content, it was to 'difficult' for me to work with th= e dynamic-module. so i made lang.related table entry's eg: id,match-code,lang,content,someelse 0,test1,en,my content,nice here 1,test1,de,mein inhalt,sch=F6n hier 2,news,en,hello world,0 3,news,de,hallo welt,0 in the module i asked the language-mod for current_language to select the related table entry. (where match-code and lang) my idea is; if the language-module is very simple to use and there is a e= asy doc how we shoult do it, i am shure module-developers (betters than me) could integrate the dynamic part to the modules Yves Kuendig -----Urspr=FCngliche Nachricht----- Von: php...@li... [mailto:php...@li...]Im Auftrag von Matthew McNaney Gesendet: Mittwoch, 7. Juli 2004 21:29 An: phpWebSite Developers Betreff: Re: [Phpwebsite-developers] Dynamic Translation (long) On Tue, 2004-07-06 at 11:05, Tony Miller wrote: > What would be really nice though, is to have a language module where yo= u > could look up the language preferance of the user and support a languag= e > tag in the URL, such a ?lang=3Den on the end of the page. Then you cou= ld > create web pages with a selectable language attribute, and have it > presented to the user who requests the information. Then the page in > multiple languages would be near the same place. That would be a good idea. There is nothing saying that a developer couldn't gear their module to do so. -- Matthew McNaney ... |