Just my personal opinion:
Making changes to the core has really not been a problem for me since
I put Cake into a Git repo. I just have a branch with my changes in it
and Git takes care of the merging.




On Feb 10, 11:20 pm, jodator <joda...@gmail.com> wrote:
> Psst, don't do that ;-) I think I saw a ticket about it and id would
> not be fixed in 1.2 branch, but in 1.3 there should be an option to
> add custom chars mapping.
>
> Don't hack your core either, because it could cause problems when
> upgrading, doing new stuff from fresh cake, etc. Make your own class,
> or make new function in your app_model/app_controller/app_helper and
> use it $this->mySlug();
>
> I had the same issue with polish letters and I make copypaste from
> core as one of my models' function.
>
> On Feb 10, 5:17 pm, PaulMan <pho...@gmail.com> wrote:
>
>
>
> > Thank you both!!!
> > I used the patch you gave, and used mb_* functions to set string to
> > lowercase ( i was having problems with chars like Ó and Á )
>
> > Martin what do you mean by:
> > "I will let you post the ticket though."
> > Sorry im not a expert on CAKEPHP , yet!!!! ....
>
> > On 10 Fev, 14:37, Martin Westin <martin.westin...@gmail.com> wrote:
>
> > > Cake only supports conversion of a specified list of characters to
> > > their "root" a or o.
> > > You need to patch the Inflector class (and post it back to the
> > > tracker).
>
> > > line 496 of inflector.php is where the action starts. It is quite
> > > obvious where to add your additional characters. Actually I added
> > > those three to this version if you want the quick fix:
>
> > >http://bin.cakephp.org/view/1955811171
>
> > > I will let you post the ticket though.
>
> > > On Feb 10, 2:02 pm, PaulMan <pho...@gmail.com> wrote:
>
> > > > hello,
>
> > > > echo Inflector::slug(' ã õ ï ö ä ë ö ü á í é ó ú à è ì ò ù â ê î ô û
> > > > ç );
> > > > what i want is to have the next result
> > > > a_o_i_oe_ae_e_oe_ue_a_i_e_o_u_a_e_i_o_u_a_e_i_o_u_c
>
> > > > but the result is
> > > > _õ_ _oe_ae_e_oe_ue_a_i_e_o_u_a_e_i_o_u_a_e_i_o_u_c
>
> > > > ã should be => a
> > > > õ should be => o
>
> > > > On 10 Fev, 12:41, anler <anle...@gmail.com> wrote:
>
> > > > > You want to keep the url with your letters as they are? if that is the
> > > > > case, google by IDNA (International Domain Names ... or something, or
> > > > > the package Net_IDNA in pear.php.net)
>
> > > > > On Feb 10, 1:35 pm, PaulMan <pho...@gmail.com> wrote:
>
> > > > > > echo Inflector::slug(' ã õ ï ö ä ë ö ü á í é ó ú à è ì ò ù â ê î ô 
> > > > > > û ç
> > > > > > ');
>
> > > > > > results:
> > > > > > _õ_ _oe_ae_e_oe_ue_a_i_e_o_u_a_e_i_o_u_a_e_i_o_u_c
>
> > > > > > the first three chars do not work, the first and second are used 
> > > > > > many
> > > > > > times in Portuguese language...
>
> > > > > > is this a bug? does anybody have a solution?
>
> > > > > > best regards,

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to