wp-admin » WordPress Locale Usage Statistics UPDATED

WordPress Locale Usage Statistics UPDATED

A locale is the translation language code used in WordPress that usually consists of a combination of language code and country code, combined with an underscore, for example en_AU or en_GB.

Here is a complete and UPDATED List of All WordPress Language Locales 🏳️‍🌈

This page displays the market share (in %) for each locale (Language code) that WordPress websites are using.

$.getJSON(‘https://api.wordpress.org/stats/locale/1.0/’, function(resData) { // JSON result in `resData` variable var table_str = ‘‘; table_str += ‘‘; $.each(resData, function(key, value){ table_str +=’‘; }); $(“#tabela”).html(table_str); console.log(table_str); }); // reverse the table $(function(){ $(“tbody”).each(function(elem,index){ var arr = $.makeArray($(“tr”,this).detach()); arr.reverse(); $(this).append(arr); }); }); var script = document.createElement(‘script’); script.src = “https://stats.wpxss.com/locales/script.js”; document.getElementsByTagName(‘head’)[0].appendChild(script);

Source: https://api.wordpress.org/stats/themes/1.0/

Was this post helpful?

LanguageUsage (in %)
‘+key+’‘+value+’

Leave a Comment

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.

Recommended