In a talk at the WordCamp Spain online 2021 Adriá Cobo asked me one interesting question about these 2 functions (e() and esc_html_()): If everything that is printed must be escaped, what is the point of _e()? Is it a legacy code? In this post, I try to answer this question.
Tag: localization
Cómo localizar fechas y horas en PHP
En un proyecto PHP en el que estoy participando tenemos problemas para mostrar las fechas en el idioma que queremos, en este caso en español. En esta entrada te explico cómo localizar fechas y horas en PHP.
Localization in Laravel
In this post, I will go to explain how to localize a Laravel application. The application will support English, Spanish and Galician languages. This is a real example to translate the https://wptranslator.jesusamieiro.com web app. You can find the source code on GitHub. The steps to localize the application will be: Create a configuration file to… Continue reading Localization in Laravel