{"id":632,"date":"2013-02-07T11:36:53","date_gmt":"2013-02-07T08:36:53","guid":{"rendered":"http:\/\/laxstrom.name\/blag\/?p=632"},"modified":"2013-02-07T11:36:53","modified_gmt":"2013-02-07T08:36:53","slug":"new-language-stuff-for-developers-and-users","status":"publish","type":"post","link":"https:\/\/laxstrom.name\/blag\/2013\/02\/07\/new-language-stuff-for-developers-and-users\/","title":{"rendered":"New language stuff for developers and users"},"content":{"rendered":"<p><a href=\"https:\/\/www.mediawiki.org\/wiki\/MediaWiki_Language_Extension_Bundle\">MLEB 2013.01<\/a> has been <a href=\"http:\/\/lists.wikimedia.org\/pipermail\/mediawiki-i18n\/2013-January\/000600.html\">released<\/a> by Amir Aharoni. Lots of development has been happening in Translate due to the work on the <a href=\"http:\/\/blog.wikimedia.org\/2013\/01\/25\/language-engineering-progress-with-input-methods-and-translation-editor\/\">new translation interfaces<\/a>. If you are a developer, please also checkout the latest <a href=\"http:\/\/translatewiki.net\/w\/api.php?action=help&amp;querymodules=messagecollection|messagegroups\">new and changed Web APIs<\/a> and give us a shout in #mediawiki-i18n @freenode if you see something obviously wrong or missing. Also included in this release are bug fixes for Universal Language Selector, while the other included extensions didn&#8217;t see many changes.<\/p>\n<p>Some months ago I wrote about <a title=\"Language validation in MediaWiki\" href=\"https:\/\/laxstrom.name\/blag\/2012\/08\/28\/language-validation-in-mediawiki\/\">Language tag validation in MediaWiki<\/a>. A nice person named Siebrand Mazeland decided to improve the situation. As of now we have three new methods developed by the Wikimedia Language engineering team:<\/p>\n<ul>\n<li>isSupportedLanguage<\/li>\n<li>isWellFormedLanguageTag<\/li>\n<li>isKnownLanguageTag<\/li>\n<\/ul>\n<p>Unless these methods are <a href=\"http:\/\/en.wikipedia.org\/wiki\/Backporting\">backported<\/a>\u00a0to MediaWiki 1.19 and MediaWiki 1.20, it will take a while before these are being used in extensions, but after a while we should see faster and more readable code.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MLEB 2013.01 has been released by Amir Aharoni. Lots of development has been happening in Translate due to the work on the new translation interfaces. If you are a developer, please also checkout the latest new and changed Web APIs and give us a shout in #mediawiki-i18n @freenode if you see something obviously wrong or [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,2,11],"tags":[32,47,26,31,52],"class_list":["post-632","post","type-post","status-publish","format-standard","hentry","category-english","category-mediawiki","category-vapaasuomi","tag-language-code","tag-language-engineering-team","tag-language-support","tag-language-tag","tag-mediawiki-language-extension-bundle"],"_links":{"self":[{"href":"https:\/\/laxstrom.name\/blag\/wp-json\/wp\/v2\/posts\/632","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/laxstrom.name\/blag\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/laxstrom.name\/blag\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/laxstrom.name\/blag\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/laxstrom.name\/blag\/wp-json\/wp\/v2\/comments?post=632"}],"version-history":[{"count":11,"href":"https:\/\/laxstrom.name\/blag\/wp-json\/wp\/v2\/posts\/632\/revisions"}],"predecessor-version":[{"id":644,"href":"https:\/\/laxstrom.name\/blag\/wp-json\/wp\/v2\/posts\/632\/revisions\/644"}],"wp:attachment":[{"href":"https:\/\/laxstrom.name\/blag\/wp-json\/wp\/v2\/media?parent=632"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/laxstrom.name\/blag\/wp-json\/wp\/v2\/categories?post=632"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/laxstrom.name\/blag\/wp-json\/wp\/v2\/tags?post=632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}