WordPress.org

Ready to get started?Download WordPress

Forums

TablePress
[resolved] changinig language! (4 posts)

  1. xore1976
    Member
    Posted 1 year ago #

    would like to know how to change language in tables?

    what shortcode do i must enter to change my table to another language)?

    for examle i want to use lang-sr_RS.js in \tablepress\i18n\datatables folder

    thanks in advance!

    http://wordpress.org/extend/plugins/tablepress/

  2. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    thanks for your question.

    By default, tables will use the language that you have set for your WordPress (i.e. the value that is set for the WP_LANG constant in your wp-config.php).

    Additionally, you can change the language for each table individually, by adding a new parameter to the Shortcode. In your case, change

    [table id=123 /]

    to

    [table id=123 datatables_locale="sr_RS" /]

    Regards,
    Tobias

  3. xore1976
    Member
    Posted 1 year ago #

    thank you very much!
    this plugin works perfect!
    great work!

    cheers, Robert

  4. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    sure, no problem! Thanks for the kind words! :-)

    Best wishes,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.