7 functions extendind Strings in Javascript that will save you a lot of code and are very elegant - To Code is Awesome
7 extensiones a las cadenas en Javascript que ahorran mucho código y se ven elegantes - Desarrollo Fácil Toggle navigation Desarrollo Fácil
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.
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.
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.
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.
Other results
How do you check for an empty string in JavaScript?
For example, do not do this: "indexOf - method for the String object in JavaScript".
Por ejemplo, no hagas esto: "indexOf - método para el objeto String en JavaScript".
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.