I select the language "Spanish" but the language is not changed. I want the empty tables to appear in the front and the data to appear only when they use the search filter. I hope it can be done. Please inform me.
Unfortunately, the language you select in wpDataTables settings/Interface language is only for the interface of the table, not the entire plugin. There are only a few strings translated by these languages, and it's inherited from the datatables jQuery plugin, on which wpDataTables is based.
The translation files for the supported languages are found in ../wp-content/plugins/wpdatatables/languages/ folder, and we currently don't have the Spanish translation. The plugin can be translated using POEDIT or Loco Translate easily. I suggest installing Loco Translate since it's within WordPress and it has a simple UI.
If you want to use POEDIT then please follow these instructions:
1. Download wpDataTables from our TMS Store and save the wpdatatables.zip file on your computer.
4. After that, open the program and open the file from the extracted folder on your computer wpdatatables/languages/en_US/wpdatatables-en_US.po.
5. Translate all the strings in your language.
6. Save the file as the plugin suggests (the language code; for example wpdatatables-id_ID.po if your language is Indonesian) and it will generate a new wpdatatables-id_ID.mo file. You can find your language code here.
7. Go to wpdatatables/languages/ folder and create a new folder. Name it as the language code for your language (in our case, for Indonesian, it is id_ID) and then copy these two files called wpdatatables-id_ID.po and wpdatatables-id_ID.mo into it. Proceed with copying the whole folder id_ID back to your website in folder ../wp-content/plugins/wpdatatables/languages/.
Of course, you will use language code for your language (we use the Indonesian language, and its language code "id_ID" is just an example).
When you finish that, it would be nice to send us the translation, so we can include it in our next major update so you don't have to copy this folder from the local machine on every update.
Good afternoon.
I select the language "Spanish" but the language is not changed.
I want the empty tables to appear in the front and the data to appear only when they use the search filter.
I hope it can be done.
Please inform me.
Thank you.
Best regards.
Hello Marco
Thank you for your purchase.
Unfortunately, the language you select in wpDataTables settings/Interface language is only for the interface of the table, not the entire plugin. There are only a few strings translated by these languages, and it's inherited from the datatables jQuery plugin, on which wpDataTables is based.
The translation files for the supported languages are found in ../wp-content/plugins/wpdatatables/languages/ folder, and we currently don't have the Spanish translation. The plugin can be translated using POEDIT or Loco Translate easily. I suggest installing Loco Translate since it's within WordPress and it has a simple UI.
If you want to use POEDIT then please follow these instructions:
1. Download wpDataTables from our TMS Store and save the wpdatatables.zip file on your computer.
2. Unzip downloaded file.
3. Download and install POEDIT.
4. After that, open the program and open the file from the extracted folder on your computer wpdatatables/languages/en_US/wpdatatables-en_US.po.
5. Translate all the strings in your language.
6. Save the file as the plugin suggests (the language code; for example wpdatatables-id_ID.po if your language is Indonesian) and it will generate a new wpdatatables-id_ID.mo file. You can find your language code here.
7. Go to wpdatatables/languages/ folder and create a new folder. Name it as the language code for your language (in our case, for Indonesian, it is id_ID) and then copy these two files called wpdatatables-id_ID.po and wpdatatables-id_ID.mo into it. Proceed with copying the whole folder id_ID back to your website in folder ../wp-content/plugins/wpdatatables/languages/.
Of course, you will use language code for your language (we use the Indonesian language, and its language code "id_ID" is just an example).
When you finish that, it would be nice to send us the translation, so we can include it in our next major update so you don't have to copy this folder from the local machine on every update.
Hope this helps.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables