The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Developer's Custom Fields
localization? (6 posts)

  1. Unsal Korkmaz
    Posted 4 years ago #

    Is it possible to add localization support?
    Date picker needs it for example. And can you use wordpress default localization for dates if possible?

    Sorry for being a headache :P


  2. Steve Taylor
    Plugin Author

    Posted 4 years ago #

    Full localization isn't on the cards right now. However, if you want to translate the plugin, I'm using gettext functions throughout, so let me know and I can get that going easily in a point release.

    As for the date format, I can look into automating it according to the WP settings, but for now you can change it yourself if you want:


    I'm genuinely happy to help with any problems, but please, RTFM! :P

  3. Unsal Korkmaz
    Posted 4 years ago #

    I dont have any problem with date format :S
    I mean when you click date field, a panel is appearing and it has months in title like "October 2011" well.. that october is english and normally wordpress translating it.
    I dont think document have this :S

  4. Steve Taylor
    Plugin Author

    Posted 4 years ago #

    Sorry for the misunderstanding. However, if you read the docs or check the source code, or even just the files for the plugin, you'll see straight away that I use the jQuery Datepicker plugin. So you probably need to look at that, e.g. http://docs.jquery.com/UI/Datepicker/Localization

  5. Unsal Korkmaz
    Posted 4 years ago #

    I am not exactly sure but probably translation support can cover it tho:

    Problem is, i am not good at source code reading and editing it my own :S

  6. Steve Taylor
    Plugin Author

    Posted 4 years ago #

    I'm not sure of your question here. I'm afraid I've not done localization with jQuery Datepicker before, but that's the plugin that creates the date field, and you'll have to looks at that to see what's needed.

    My guess is that the problem for you will be if the way the Custom Fields plugin outputs date fields JavaScript needs to be modified to accomodate Datepicker localization. I'm currently travelling so I can't start developing this, but if you want to hack it until I get round to a new version, you should look at slt_cf_display.php, around line 382. HTH!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Developer's Custom Fields
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic