{"id":997,"date":"2011-01-28T10:10:33","date_gmt":"2011-01-28T10:10:33","guid":{"rendered":"http:\/\/www.w3.org\/blog\/Internationaltmp\/2011\/01\/28\/an_opera_extension_for_the_multilingual_\/"},"modified":"2011-01-28T10:10:33","modified_gmt":"2011-01-28T10:10:33","slug":"an_opera_extension_for_the_multilingual_","status":"publish","type":"post","link":"https:\/\/www.w3.org\/blog\/International\/2011\/01\/28\/an_opera_extension_for_the_multilingual_\/","title":{"rendered":"An Opera extension for the multilingual Web"},"content":{"rendered":"<p style=\"float:right;margin: 10px 0 10px 10px\"><img decoding=\"async\" src=\"https:\/\/addons.opera.com\/media\/extensions\/23\/6223\/1.0-rev1\/images\/swaplang1.jpg\" alt=\" \" \/><\/p>\n<p>One of the most popular Opera extensions is <a href=\"https:\/\/addons.opera.com\/addons\/extensions\/details\/translate\/\">Translate<\/a>, which translates a page using an automatic service. But some pages have already been translated, and checked for quality manually. HTML has provided markup to make this clear (<code>rel=\"alternate\" hreflang=\"xx\"<\/code> as attributes to a link) for more than a decade, but this has not been implemented in browsers, which makes it hard for users to discover.<\/p>\n<p>The new Opera extension <a href=\"http:\/\/my.opera.com\/chaals\/blog\/swaplang\">Swaplang<\/a>, developed specifically for the MLW project, is an example of how a browser might natively implement this functionality. If a page uses the proper HTML markup, it shows that there are alternatives available and lets you select between them. To try it, go to the <a href=\"https:\/\/addons.opera.com\/addons\/extensions\/details\/swaplang\">Swaplang download<\/a> page with Opera 11 (or higher) and install it<\/p>\n<p>If you need a test page, try <cite><a href=\"http:\/\/www.w3.org\/International\/O-charset\">Character Encodings<\/a><\/cite>.<\/p>\n<p>The extension is still in development, with some enhancements expected. The <a href=\"https:\/\/bitbucket.org\/chaals\/swaplang\">source code is available<\/a> under the Apache 2.0 open source license, in case you would rather take it in your own directions&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the most popular Opera extensions is Translate, which translates a page using an automatic service. But some pages have already been translated, and checked for quality manually. HTML has provided markup to make this clear (rel=&#8221;alternate&#8221; hreflang=&#8221;xx&#8221; as &hellip; <a href=\"https:\/\/www.w3.org\/blog\/International\/2011\/01\/28\/an_opera_extension_for_the_multilingual_\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":79,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,13,5,19],"tags":[],"class_list":["post-997","post","type-post","status-publish","format-standard","hentry","category-highlight","category-miscellaneous","category-w3cwebdesign","category-w3cwebuseragents"],"_links":{"self":[{"href":"https:\/\/www.w3.org\/blog\/International\/wp-json\/wp\/v2\/posts\/997","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.w3.org\/blog\/International\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.w3.org\/blog\/International\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.w3.org\/blog\/International\/wp-json\/wp\/v2\/users\/79"}],"replies":[{"embeddable":true,"href":"https:\/\/www.w3.org\/blog\/International\/wp-json\/wp\/v2\/comments?post=997"}],"version-history":[{"count":0,"href":"https:\/\/www.w3.org\/blog\/International\/wp-json\/wp\/v2\/posts\/997\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.w3.org\/blog\/International\/wp-json\/wp\/v2\/media?parent=997"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.w3.org\/blog\/International\/wp-json\/wp\/v2\/categories?post=997"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.w3.org\/blog\/International\/wp-json\/wp\/v2\/tags?post=997"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}