• Resolved jpujolcat

    (@jpujolcat)


    HI!
    I’ve tried to translate “Search:” string with TablePress Extension: Change DataTables strings.
    My site is in Catalan. I’ve tried copying and modifying lang-ca_ES.json, lang-es_ES.json but nothing happens.
    Please….help!

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    lang-ca_ES.json should be the correct name. Just to be sure, is the “Change DataTables strings” Extension really activated as a plugin?

    Regards,
    Tobias

    Thread Starter jpujolcat

    (@jpujolcat)

    Hi!
    Yes, it’s activated!
    https://infoactivat.com/prats/wp-content/uploads/2017/12/tablepress-question.jpg

    and lang-ca_ES.json

    {
    	"emptyTable":		"Ningún dato disponible en esta tabla",
    	"info":				"Mostrando desde _START_ hasta _END_ de _TOTAL_ registros",
    	"infoEmpty":		"Mostrando desde 0 hasta 0 de 0 registros",
    	"infoFiltered":		"(filtrado de _MAX_ registros en total)",
    	"infoPostFix":		"",
    	"lengthMenu":		"Mostrar _MENU_ registros",
    	"loadingRecords":	"Cargando...",
    	"processing":		"Procesando...",
    	"search":			"Cercar:",
    	"zeroRecords":		"No se encontraron resultados",
    	"paginate": {
    		"first":		"Primero",
    		"previous":		"Anterior",
    		"next":			"Siguiente",
    		"last":			"último"
    	},
    	"aria": {
    		"sortAscending":	": Activar para ordenar la columna de manera ascendente",
    		"sortDescending":	": Activar para ordenar la columna de manera descendente"
    	},
    	"decimal":			",",
    	"thousands":		"."
    }
    

    Any idea? If I create an admin user for you, could you enter to have a look? (I can pay for your work).
    Thanks!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    yes, if possible, I’d like to take a direct look at this on your site. Could you therefore please create a temporary admin account for me and send me the details via email (the address is in the main plugin file “tablepress.php”)? That way, I can investigate this directly. Thanks!

    Regards,
    Tobias

    Thread Starter jpujolcat

    (@jpujolcat)

    Hi!
    I’ve just send the email.
    thank you very much!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks! I might have found something. It looks like the locale on your site is just “ca”. Can you therefore please try again by renaming the file to lang-ca.json?

    Regards,
    Tobias

    Thread Starter jpujolcat

    (@jpujolcat)

    Yes! Great!
    Thank you very much!!!!

    Plugin Author TobiasBg

    (@tobiasbg)

    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!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Translate strings’ is closed to new replies.