投稿の日本語表示と英語表示をボタンひとつで切り替える機能があったら良いかもしれない、と思って、jQueryのプラグインを作成しました。ブラウザの言語設定を参照してそれにあった言語を表示する機能もあります。 <!DOCTYPE html> <html> <head> <style> /* for buttons */ .langbuttons a { margin-right: 5px; padding: 5px 10px; border: 1px solid #ccc; border-radius: 3px; background: #eee; cursor: pointer; } /* when the button is pushed */ .langbuttons a.on { background: #666; border: 1px solid #000; color: #fff
![表示する言語をボタンで切り替えるjQueryのプラグイン](https://cdn-ak-scissors.b.st-hatena.com/image/square/5f751a510f9cd4a645cc40468f835b303a9ea7ff/height=288;version=1;width=512/https%3A%2F%2Fwww.icoro.com%2Fwp-content%2Fthemes%2Fi2024%2Fimages%2Flogo_ogp.png)