Title: Translate
Last modified: December 20, 2016

---

# Translate

 *  Resolved [luciojmartinez](https://wordpress.org/support/users/luciojmartinez/)
 * (@luciojmartinez)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/translate-156/)
 * Hi
 * I’m triyin to translate the TablePress to Catalan language. I’ve taken the lang-
   es_ES.json from Tablepress/i18m/datatables . I’ve translate it to Catalan, and
   I put it into tablepress-change-datatables-strings and I’ve deleted the lang-
   en_US.json example but nothing happens.
    What I’m doing wrong? ¿It’s posible 
   to use Loco Translate? If yes, ¿what TablePress plugins have I to change?
 * Regards
 * Lucio

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/translate-156/#post-8572804)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * What filename does the translated file have? `lang-ca.json`?
    Please put that
   file into the `tablepress-change-datatables-strings` folder. Then, please make
   sure that your site is set to use `ca` as the locale, e.g. using `define( 'WPLANG','
   ca' );` in your site’s wp-config.php file.
 * Alternatively, it should be possible to force this translation by using a Shortcode
   like
    `[table id=123 datatables_locale="ca" /]`
 * Regards,
    Tobias
 *  Thread Starter [luciojmartinez](https://wordpress.org/support/users/luciojmartinez/)
 * (@luciojmartinez)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/translate-156/#post-8575751)
 * Hi,
 * My translated filename is land-ca_CA.json. All my site is in Catalán.
 * In my wp-config.php file don’t find any reference to WPLANG.
 * Where Have I to put the [table id=X datatables_locale=”ca” /]
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/translate-156/#post-8575911)
 * Hi,
 * please try renaming the file to `lang-ca.json`. That might already fix it.
 * `[table id=123 datatables_locale="ca" /]` is the Shortcode that you use on the
   page where you want to display the table.
 * Regards,
    Tobias
 *  Thread Starter [luciojmartinez](https://wordpress.org/support/users/luciojmartinez/)
 * (@luciojmartinez)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/translate-156/#post-8577957)
 * Hi,
 * Yes! Perfect! I’ve put the define( ‘WPLANG’, ‘ca’ ); in my wp-config.php file
   and I rename to file to lang-ca.json and all works fine.
 * Thank you very much. You are impresive!
 * Lucio
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/translate-156/#post-8578288)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](https://wordpress.org/support/plugin/tablepress/reviews/)
   here in the plugin directory. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Translate’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/translate-156/#post-8578288)
 * Status: resolved