[wp-polyglots] Localising cockneyreplace (patch)
iwan
wordpress at slebog.net
Fri Mar 25 11:51:17 GMT 2005
I agree it needs more thought, and could be a really powerful and
flexible feature, suitable for all languages and different uses.
But maybe that's a bit beyond the scope of version 1.5.1?
As I said, I'm happy to work on a fuller-featured patch for a future
version, but could we get this minor mod into 1.5.1 for now so at least
some basic localisation is possible?
The patch is here: http://mosquito.wordpress.org/view.php?id=1032
Cheers
iwan
Ar Mar 5, 2005, am 14:51, ysgrifennodd Sunny:
> I could also think of things to autocorrect in french, like
> non-breakable spaces before these some ponctuations ! ? :
>
> Sounds like a good idea, but perhaps a plugin would be sufficient ?
> One may just want wp-admin's text to appear in a language but write in
> another :?
>
>
> On Sat, 5 Mar 2005 11:53:38 +0000, iwan <wordpress at slebog.net> wrote:
>> I don't now if this affects other languages too, but for Welsh it
>> would
>> be very useful to localise the cockneyreplace feature (which makes
>> sure
>> the correct apostrophe is on the beginnig of words like 'tis)
>>
>> I've made a new bug and attached a patch here:
>>
>> http://mosquito.wordpress.org/view.php?id=1032
>>
>> It basically follows the way that the smilies list can be customised
>> --
>> i.e. by checking for a list in wp-config.php
>>
>> So localisers can put a customised cockneyreplace in their
>> wp-config-sample.php like this:
>>
>> $wpautocorrect = array(
>> "'tis" => '’tis',
>> [...]
>> );
>>
>> ... and users can add all kinds of autocorrections there too, not just
>> for curly quotes.
>>
>> (called it wpautocorrect since "cockney" isn't relevant to other
>> languages)
>>
>> In the future it would be good to have a customisable list via the
>> admin interface, like a full autocorrect feature (similar to Word's).
>> I'd be happy to work on that if others think it worthwhile, but
>> hopefully this should be OK for version 1.5.1.
>>
>> iwan
>>
>> _______________________________________________
>> wp-polyglots mailing list
>> wp-polyglots at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-polyglots
>>
>
>
> --
> Sunny 'Negatif' Ripert
> http://sunfox.org
> _______________________________________________
> wp-polyglots mailing list
> wp-polyglots at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-polyglots
>
More information about the wp-polyglots
mailing list