Hello, you have come here looking for the meaning of the word
User:Erutuon/scripts/languages.js. In DICTIOUS you will not only get to know all the dictionary meanings for the word
User:Erutuon/scripts/languages.js, but we will also tell you about its etymology, its characteristics and you will know how to say
User:Erutuon/scripts/languages.js in singular and plural. Everything you need to know about the word
User:Erutuon/scripts/languages.js you have here. The definition of the word
User:Erutuon/scripts/languages.js will help you to be more precise and correct when speaking or writing your texts. Knowing the definition of
User:Erutuon/scripts/languages.js, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
// <nowiki>
function getLangCodeByName(langName)
{
var langCode = "";
$.ajax({
url: mw.util.wikiScript( 'api' ),
data: {
action: 'expandtemplates',
format: 'json',
prop: 'wikitext',
text: '{{#invoke:languages/templates|getByCanonicalName|' + langName + '|getCode}}'
},
type: 'GET',
success: function( result ) {
langCode = result.expandtemplates.wikitext;
},
error: function( xhr ) {
console.log( 'Error.\nRequest failed.' );
},
async: false
});
return langCode;
}
// </nowiki>