[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fu7VSghEbw9PerMcfKeJLCSiVMOmTILDIId_MsXRTS8k":3},{"slug":4,"display_name":4,"profile_url":5,"plugin_count":6,"total_installs":7,"avg_security_score":8,"avg_patch_time_days":9,"trust_score":10,"computed_at":11,"plugins":12},"nilsnh","https:\u002F\u002Fprofiles.wordpress.org\u002Fnilsnh\u002F",1,100,85,30,84,"2026-04-05T19:04:05.082Z",[13],{"slug":14,"name":15,"version":16,"author":4,"author_profile":5,"description":17,"short_description":18,"active_installs":7,"downloaded":19,"rating":20,"num_ratings":21,"last_updated":22,"tested_up_to":23,"requires_at_least":24,"requires_php":25,"tags":26,"homepage":25,"download_link":30,"security_score":8,"vuln_count":31,"unpatched_count":31,"last_vuln_date":32,"fetched_at":33},"set-html-lang-attribute-per-post","Set HTML lang attribute per post","0.0.1","\u003Cp>This wordpress plugin adds a meta box for specifying html lang=”” language per post.\u003C\u002Fp>\n\u003Ch3>The problem this plugin solves\u003C\u002Fh3>\n\u003Cp>WordPress allows us to specify site-wide language defaults like so:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003Cmeta http-equiv=\"content-language\" content=\"es\">\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>The problem comes about if you have blog posts in various languages. Personally I write posts in either English or Norwegian. And since English is set as the site-wide language posts that are in Norwegian end up looking kinda weird due to weirdly placed \u003Ccode>-\u003C\u002Fcode> (hyphenations).\u003C\u002Fp>\n\u003Ch3>Solution\u003C\u002Fh3>\n\u003Cp>The solution is to add more specific html \u003Ccode>lang\u003C\u002Fcode> attributes when needed.\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u003Carticle id=\"\" class=\"\" lang=\"vi\">\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>For example this specifies that the post is in Vietnamese. This plugin enables a meta box when editing posts where you may specify the post’s language.\u003C\u002Fp>\n\u003Ch3>Contributing\u003C\u002Fh3>\n\u003Cp>This plugin was made in a jiffy. But by all means do suggest improvements. For instance the plugin obviously lacks testing code.\u003C\u002Fp>\n\u003Ch3>Licensing\u003C\u002Fh3>\n\u003Cp>Copyright 2014  Nils Norman Haukås\u003C\u002Fp>\n\u003Cp>This program is free software; you can redistribute it and\u002For modify\u003Cbr \u002F>\nit under the terms of the GNU General Public License, version 2, as\u003Cbr \u002F>\npublished by the Free Software Foundation.\u003C\u002Fp>\n\u003Cp>This program is distributed in the hope that it will be useful,\u003Cbr \u002F>\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\u003Cbr \u002F>\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\u003Cbr \u002F>\nGNU General Public License for more details.\u003C\u002Fp>\n\u003Cp>You should have received a copy of the GNU General Public License\u003Cbr \u002F>\nalong with this program; if not, write to the Free Software\u003Cbr \u002F>\nFoundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\u003C\u002Fp>\n","This wordpress plugin adds a meta box for specifying html lang=\"\" language per post.",2085,86,3,"2015-01-11T16:33:00.000Z","4.1.42","3.0.1","",[27,28,29],"html","lang","language","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fset-html-lang-attribute-per-post.0.0.1.zip",0,null,"2026-03-15T15:16:48.613Z"]