Uno de los cambios en los que ya se está trabajando es, por ejemplo, la internacionalización de cadenas de texto en JavaScript, para que funcionen de forma parecida a PHP, con soporte para cadenas en plural.
One of the changes, that's already being worked on, is that strings in JavaScript should be translatable like strings in PHP are. With full support for multiple plurals, for example.
Los complementos y los temas han podido traducir cadenas de PHP fácilmente desde hace años, y también hay un método similar para traducir cadenas en JavaScript gracias al objeto wp.i18n.
Plugins and themes have been able to easily translate PHP strings for years now, and a similar method is also available for translating strings in JavaScript thanks to the wp.i18n object.
7 extensiones a las cadenas en Javascript que ahorran mucho código y se ven elegantes - Desarrollo Fácil Toggle navigation Desarrollo Fácil
7 functions extendind Strings in Javascript that will save you a lot of code and are very elegant - To Code is Awesome
Este capítulo muestra cómo trabajar con cadenas y texto en JavaScript
Y si quiere traducir también las posibles cadenas incluidas en el archivo javascript (.js), it puede verlo aquí.
And if you wish to localize strings included in a javascript ( .js) file, it is there.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.