Re: AW: How To i18n Spec. Objs Interface
Sebastian Tänzer <[email protected]>
| Newsgroups | gmane.comp.cms.zms.devel |
|---|---|
| Message-ID | <[email protected]> |
Thorsten, This works for select/multiselect fields, but not for the content objects' "display" fields. I think what Peter is trying to do is translate the interfaces of content objects to other management interface languages and this includes not only select/multiselect but labels and hints/notes, too. Im interested in knowing how to do this as well. Haven't found a solution to this. Mit freundlichen Grüßen / Yours sincerely Sebastian Tänzer amcm web Tänzer e.K. Beratung, Design & Entwicklung für Internetlösungen Consulting, design & development for the Web. c/o amcm GmbH Kekuléstr. 39 53115 Bonn Germany Tel +49-228-33646-23 Fax +49-228-33646-13 Mobil +49-174-333-7001 [email protected] http://www.amcm.de Am 07.08.2008 um 14:42 schrieb Thorsten Fox: > Peter, > > the value of select/multiselect fields within ZMS Spec. Obj. > Definition is a python list of lists with id/value pairs. Using > wonderful dtml-code to hand-create the values and using a dictionary > should solve your problem. > E.g., put this into your select field content, and each language > author will have her translated menu: > > <dtml-call "REQUEST.set('l',[])"> > <dtml-call "REQUEST['l'].append(['1',getLangStr('auto',lang)])"> > <dtml-call "REQUEST['l'].append(['2',getLangStr('win_self',lang)])"> > <dtml-call "REQUEST['l'].append(['3',getLangStr('win_new',lang)])"> > <dtml-return "REQUEST['l']"> > > Regards, > Thorsten Fox > > Von: [email protected] [mailto:[email protected] > ] Im Auftrag von Peter Zechmeister > Gesendet: Donnerstag, 7. August 2008 14:10 > An: ZMS-Developers > Betreff: [zms-developers] How To i18n Spec. Objs Interface > Hi, > > can anybody tell me plz, how to i18n the editor's interface of spec. > objects. > > Ie. I have a select attr. with the values: > - auto > - Selbes Fenster > - Neues Fenster > > or a hint of this kind: > 'Hier können Sie Elemente ablegen, die in der rechten Spalte angezeigt > werden. Sie können hier keine Eigenschaften bearbeiten. Wenn Sie > dieses > Objekt anlegen wollen, klicken Sie auf "Einfügen". Wenn Sie den Inhalt > bearbeiten wollen, klicken Sie auf "Zurück"!' > > I'd like have them also in english. > > Or is there a tutorial anywhere? > > Regards, > PeterZ > > >