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
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” /]
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
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
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 here in the plugin directory. Thanks!