From: Ted V. <te...@jo...> - 2002-12-13 14:59:49
|
Hi, after I have translated words like "LikePages" to Dutch ("NetZoals"), the url it's referring to also changes from ThuisPagina?action=LikePages to ThuisPagina?action=NetZoals which ends up in two PHP warnings at the bottom of the page: lib/main.php:430: Notice[1024]: NetZoals: Does not appear to be an 'action page' lib/main.php:411: Notice[1024]: NetZoals: Unknown action However in the default distribution a few buttons already have been translated e.g. the "Edit" button has already been translated to "Verander", which works ok. The Edit button *is* in my native language, but still refers to the original ?action=edit url. Does anyone know where I can change these 'action pages' and/or get the translated buttons still refer to their original url or get the new translated urls to work as action pages? Regards, Ted |
From: Carsten K. <car...@us...> - 2002-12-13 21:47:08
|
Hi Ted, All the Dutch translations go into the file: wiki/locale/po/nl.po ,=20 PhpWiki and all the templates are written in english then gettext looks=20= up the translations in the .mo files. First: edit wiki/locale/po/nl.po Next: rebuild the mo files (requires gettext to be installed) cd wiki/locale make dep make And please feel welcome to share any translations you add or correct. ;) Carsten On Friday, December 13, 2002, at 09:59 am, Ted Vinke wrote: > Hi, > =A0 > after I have translated words like "LikePages" to Dutch ("NetZoals"),=20= > the url it's referring to also changes from=20 > ThuisPagina?action=3DLikePages to ThuisPagina?action=3DNetZoals which = ends=20 > up in two PHP warnings at the bottom of the page: > =A0 > lib/main.php:430: Notice[1024]:=A0NetZoals: Does not appear to be an=20= > 'action page' > > lib/main.php:411: Notice[1024]:=A0NetZoals: Unknown action > > However in the default distribution a few buttons already have been=20 > translated e.g. the "Edit" button has already been translated to=20 > "Verander", which works ok. The Edit button *is* in my native=20 > language, but still refers to the original ?action=3Dedit url. > > Does anyone know where I can change these 'action pages' and/or get=20 > the translated buttons still refer to their original url or get the=20 > new translated urls to work as action pages? > > Regards, > Ted > |
From: Ted V. <te...@jo...> - 2002-12-14 19:33:16
|
Thanks for the response! However, when I perform the translations and do the "make" stuff as you described, everything gets translated allright, but the url e.g. BackLinks refers to (?action=BackLinks) gets also translated to ?action=TerugLinks (in Dutch). The result is the error: TerugLinks does not appear to be an 'action page'. Somehow the process doesn't seem to update these actions and doesn't understand that the translated TerugLinks should execute thr action (page) originally associated with the word 'BackLinks'. Any ideas? -----Oorspronkelijk bericht----- Van: Carsten Klapp [mailto:car...@us...] Verzonden: vrijdag 13 december 2002 22:47 Aan: Ted Vinke CC: php...@li... Onderwerp: Re: [Phpwiki-talk] Action page Hi Ted, All the Dutch translations go into the file: wiki/locale/po/nl.po , PhpWiki and all the templates are written in english then gettext looks up the translations in the .mo files. First: edit wiki/locale/po/nl.po Next: rebuild the mo files (requires gettext to be installed) cd wiki/locale make dep make And please feel welcome to share any translations you add or correct. ;) Carsten On Friday, December 13, 2002, at 09:59 am, Ted Vinke wrote: > Hi, > > after I have translated words like "LikePages" to Dutch ("NetZoals"), > the url it's referring to also changes from > ThuisPagina?action=LikePages to ThuisPagina?action=NetZoals which ends > up in two PHP warnings at the bottom of the page: > > lib/main.php:430: Notice[1024]: NetZoals: Does not appear to be an > 'action page' > > lib/main.php:411: Notice[1024]: NetZoals: Unknown action > > However in the default distribution a few buttons already have been > translated e.g. the "Edit" button has already been translated to > "Verander", which works ok. The Edit button *is* in my native > language, but still refers to the original ?action=edit url. > > Does anyone know where I can change these 'action pages' and/or get > the translated buttons still refer to their original url or get the > new translated urls to work as action pages? > > Regards, > Ted > |
From: Carsten K. <car...@us...> - 2002-12-14 21:39:37
|
Hi Ted, A page named "TerugLinks" must also exist, did you create one yet? Edit "BackLinks" and copy the contents, translate it but make sure _not_ to translate the plugin line: "<?plugin BackLinks...". Carsten On Saturday, December 14, 2002, at 02:33 pm, Ted Vinke wrote: > Thanks for the response! > > However, when I perform the translations and do the "make" stuff as you > described, everything gets translated allright, but the url e.g. > BackLinks > refers to (?action=BackLinks) gets also translated to > ?action=TerugLinks (in > Dutch). > > The result is the error: TerugLinks does not appear to be an 'action > page'. > > Somehow the process doesn't seem to update these actions and doesn't > understand that the translated TerugLinks should execute thr action > (page) > originally associated with the word 'BackLinks'. > > Any ideas? |
From: Ted V. <te...@jo...> - 2002-12-15 20:48:10
|
Thanks Carsten! I get the picture now. It works. Maybe one should refine the existing documentation about this point. Regards, Ted -----Oorspronkelijk bericht----- Van: php...@li... [mailto:php...@li...]Namens Carsten Klapp Verzonden: zaterdag 14 december 2002 22:39 Aan: Ted Vinke CC: php...@li... Onderwerp: Re: [Phpwiki-talk] Action page Hi Ted, A page named "TerugLinks" must also exist, did you create one yet? Edit "BackLinks" and copy the contents, translate it but make sure _not_ to translate the plugin line: "<?plugin BackLinks...". Carsten On Saturday, December 14, 2002, at 02:33 pm, Ted Vinke wrote: > Thanks for the response! > > However, when I perform the translations and do the "make" stuff as you > described, everything gets translated allright, but the url e.g. > BackLinks > refers to (?action=BackLinks) gets also translated to > ?action=TerugLinks (in > Dutch). > > The result is the error: TerugLinks does not appear to be an 'action > page'. > > Somehow the process doesn't seem to update these actions and doesn't > understand that the translated TerugLinks should execute thr action > (page) > originally associated with the word 'BackLinks'. > > Any ideas? ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ Phpwiki-talk mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpwiki-talk |