JavaScript Internationalization Update

There are currently some renewed efforts being made to introduce a proper JavaScriptJavaScript JavaScript or JS is an object-oriented computer programming language commonly used to create interactive effects within web browsers. WordPress makes extensive use of JS for a better user experience. While PHP is executed on the server, JS executes within a user’s browser. internationalizationInternationalization Internationalization (sometimes shortened to I18N , meaning “I - eighteen letters -N”) is the process of planning and implementing products and services so that they can easily be adapted to specific local languages and cultures, a process called localization. This is the process of making software translatable. Information about Internationalization for developers can be found in the Developer’s handbooks. APIAPI An API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways. to WordPress. This would mean that developers can finally use things like _n() in JavaScript too, which obviously also has a benefit for translators.

It’s still a long way until we get there, but I outlined the missing parts over at make/core:

If you’re interested in that topic, feel free to leave a comment on that post and participate in the meeting next week.