In the APP dir (Unix and Linux): find ./ -regextype posix-egrep -regex "(.*).php|(.*).ctp" -exec xgettext -L PHP -p ./locale/spa/LC_MESSAGES --keyword=__d:2 -o default.po -s -j --omit-header --from-code=UTF-8 {} \;
2008/4/17, Sebastian Veggiani <[EMAIL PROTECTED]>: > > > I'm having problems to use Poedit with the "__d()" function. > > I've to split the translations in two files. One for the > Administration of my project and another for the public pages. > The public file will be sent to the client for translation in 2 > additional languages. > > The problem is: > As default Poedit scans files and retrieves the first parameter of the > function as translation ID. > When using the __d function, the first parameter is the > "domain" (or .po file), so it's not possible to use the program to > bring and translate de strings. > > Anyone knows how to configure Poedit (specifically xgettext) to > retrieve de second parameter of the function? > > I've tried in many ways without success, > > Thanks for your attention > > > -- Antonio Cortés (Dr Zippie) "El ordenador es la evolucion logica del hombre: Inteligencia sin moral": John Osborne. "A nullo videbatur, ipse autem omnia videbat" --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---