Friday, December 7, 2012

Re: Extracting core & validation messages for I18N with the cake shell

The only thing you can be sure of is that nothing will get done. Just
make a copy of your Locale directory. Better yet: use version control.

On Fri, Dec 7, 2012 at 5:23 AM, Cyrille Faucheux
<cyrille.faucheux@gmail.com> wrote:
> Because the extracting process overwrite all the files.
> I probably could do it manually, by backuping and replacing some files, but
> I don't want to since I'm sure it will lead to mistakes.
>
> Le jeudi 6 décembre 2012 17:07:09 UTC+1, euromark a écrit :
>>
>> why not running it twice? once for the core and once for the app?
>>
>>
>> Am Donnerstag, 6. Dezember 2012 09:24:25 UTC+1 schrieb Cyrille Faucheux:
>>>
>>> Hi everyone,
>>>
>>> I'm trying to internationalize an application, and I face some problems
>>> with the I18N shell when extracting messages.
>>>
>>> When I run the extract task (cake.bat i18n extract), I'm asked whether I
>>> want to extract messages from the Cake core, which is what I want since
>>> there is some important messages to translate in the core (for example, the
>>> names of the months, in the Form helper).
>>>
>>> But when the extraction of core messages is enabled, the extraction of
>>> validation messages from the models is disabled. Of course, I want both...
>>>
>>> I can see some logic behind that, for example, having the translations of
>>> the core for one version of Cake which can be shared among several
>>> applications, but this is not the case.
>>>
>>> Does someone know why this is working this way, if this is a bug or a
>>> feature I'm not using properly ?
>>>
>>> Thanks in advance.
>>>
>>> Cyrille
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com.
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>
>

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.

No comments: