Theme Inspinia
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>INSPINIA | i18 support</title>
  7. <link href="css/bootstrap.min.css" rel="stylesheet">
  8. <link href="font-awesome/css/font-awesome.css" rel="stylesheet">
  9. <link href="css/animate.css" rel="stylesheet">
  10. <link href="css/style.css" rel="stylesheet">
  11. </head>
  12. <body>
  13. <div id="wrapper">
  14. <nav class="navbar-default navbar-static-side" role="navigation">
  15. <div class="sidebar-collapse">
  16. <ul class="nav metismenu" id="side-menu">
  17. <li class="nav-header">
  18. <div class="dropdown profile-element"> <span>
  19. <img alt="image" class="img-circle" src="img/profile_small.jpg" />
  20. </span>
  21. <a data-toggle="dropdown" class="dropdown-toggle" href="#">
  22. <span class="clear"> <span class="block m-t-xs"> <strong class="font-bold">David Williams</strong>
  23. </span> <span class="text-muted text-xs block">Art Director <b class="caret"></b></span> </span> </a>
  24. <ul class="dropdown-menu animated fadeInRight m-t-xs">
  25. <li><a href="profile.html">Profile</a></li>
  26. <li><a href="contacts.html">Contacts</a></li>
  27. <li><a href="mailbox.html">Mailbox</a></li>
  28. <li class="divider"></li>
  29. <li><a href="login.html">Logout</a></li>
  30. </ul>
  31. </div>
  32. <div class="logo-element">
  33. IN+
  34. </div>
  35. </li>
  36. <li>
  37. <a href="index.html"><i class="fa fa-th-large"></i> <span class="nav-label" data-i18n="nav.dashboard">Dashboards</span> <span class="fa arrow"></span></a>
  38. <ul class="nav nav-second-level collapse">
  39. <li><a href="index.html">Dashboard v.1</a></li>
  40. <li><a href="dashboard_2.html">Dashboard v.2</a></li>
  41. <li><a href="dashboard_3.html">Dashboard v.3</a></li>
  42. <li><a href="dashboard_4_1.html">Dashboard v.4</a></li>
  43. <li><a href="dashboard_5.html">Dashboard v.5 <span class="label label-primary pull-right">NEW</span></a></li>
  44. </ul>
  45. </li>
  46. <li>
  47. <a href="layouts.html"><i class="fa fa-diamond"></i> <span class="nav-label" data-i18n="nav.layouts">Layouts</span></a>
  48. </li>
  49. <li>
  50. <a href="#"><i class="fa fa-bar-chart-o"></i> <span class="nav-label" data-i18n="nav.graphs">Graphs</span><span class="fa arrow"></span></a>
  51. <ul class="nav nav-second-level collapse">
  52. <li><a href="graph_flot.html">Flot Charts</a></li>
  53. <li><a href="graph_morris.html">Morris.js Charts</a></li>
  54. <li><a href="graph_rickshaw.html">Rickshaw Charts</a></li>
  55. <li><a href="graph_chartjs.html">Chart.js</a></li>
  56. <li><a href="graph_chartist.html">Chartist</a></li>
  57. <li><a href="c3.html">c3 charts</a></li>
  58. <li><a href="graph_peity.html">Peity Charts</a></li>
  59. <li><a href="graph_sparkline.html">Sparkline Charts</a></li>
  60. </ul>
  61. </li>
  62. <li>
  63. <a href="mailbox.html"><i class="fa fa-envelope"></i> <span class="nav-label" data-i18n="nav.mailbox">Mailbox </span><span class="label label-warning pull-right">16/24</span></a>
  64. <ul class="nav nav-second-level collapse">
  65. <li><a href="mailbox.html">Inbox</a></li>
  66. <li><a href="mail_detail.html">Email view</a></li>
  67. <li><a href="mail_compose.html">Compose email</a></li>
  68. <li><a href="email_template.html">Email templates</a></li>
  69. </ul>
  70. </li>
  71. <li>
  72. <a href="metrics.html"><i class="fa fa-pie-chart"></i> <span class="nav-label" data-i18n="nav.metrics">Metrics</span> </a>
  73. </li>
  74. <li>
  75. <a href="widgets.html"><i class="fa fa-flask"></i> <span class="nav-label" data-i18n="nav.widgets">Widgets</span></a>
  76. </li>
  77. <li>
  78. <a href="#"><i class="fa fa-edit"></i> <span class="nav-label" data-i18n="nav.forms">Forms</span><span class="fa arrow"></span></a>
  79. <ul class="nav nav-second-level collapse">
  80. <li><a href="form_basic.html">Basic form</a></li>
  81. <li><a href="form_advanced.html">Advanced Plugins</a></li>
  82. <li><a href="form_wizard.html">Wizard</a></li>
  83. <li><a href="form_file_upload.html">File Upload</a></li>
  84. <li><a href="form_editors.html">Text Editor</a></li>
  85. <li><a href="form_markdown.html">Markdown</a></li>
  86. </ul>
  87. </li>
  88. <li>
  89. <a href="#"><i class="fa fa-desktop"></i> <span class="nav-label" data-i18n="nav.appviews">App Views</span> <span class="pull-right label label-primary">SPECIAL</span></a>
  90. <ul class="nav nav-second-level collapse">
  91. <li><a href="contacts.html">Contacts</a></li>
  92. <li><a href="profile.html">Profile</a></li>
  93. <li><a href="profile_2.html">Profile v.2</a></li>
  94. <li><a href="contacts_2.html">Contacts v.2</a></li>
  95. <li><a href="projects.html">Projects</a></li>
  96. <li><a href="project_detail.html">Project detail</a></li>
  97. <li><a href="teams_board.html">Teams board</a></li>
  98. <li><a href="social_feed.html">Social feed</a></li>
  99. <li><a href="clients.html">Clients</a></li>
  100. <li><a href="full_height.html">Outlook view</a></li>
  101. <li><a href="vote_list.html">Vote list</a></li>
  102. <li><a href="file_manager.html">File manager</a></li>
  103. <li><a href="calendar.html">Calendar</a></li>
  104. <li><a href="issue_tracker.html">Issue tracker</a></li>
  105. <li><a href="blog.html">Blog</a></li>
  106. <li><a href="article.html">Article</a></li>
  107. <li><a href="faq.html">FAQ</a></li>
  108. <li><a href="timeline.html">Timeline</a></li>
  109. <li><a href="pin_board.html">Pin board</a></li>
  110. </ul>
  111. </li>
  112. <li>
  113. <a href="#"><i class="fa fa-files-o"></i> <span class="nav-label" data-i18n="nav.otherpages">Other Pages</span><span class="fa arrow"></span></a>
  114. <ul class="nav nav-second-level collapse">
  115. <li><a href="search_results.html">Search results</a></li>
  116. <li><a href="lockscreen.html">Lockscreen</a></li>
  117. <li><a href="invoice.html">Invoice</a></li>
  118. <li><a href="login.html">Login</a></li>
  119. <li><a href="login_two_columns.html">Login v.2</a></li>
  120. <li><a href="forgot_password.html">Forget password</a></li>
  121. <li><a href="register.html">Register</a></li>
  122. <li><a href="404.html">404 Page</a></li>
  123. <li><a href="500.html">500 Page</a></li>
  124. <li><a href="empty_page.html">Empty page</a></li>
  125. </ul>
  126. </li>
  127. <li class="active">
  128. <a href="#"><i class="fa fa-globe"></i> <span class="nav-label" data-i18n="nav.miscellaneous">Miscellaneous</span><span class="label label-info pull-right">NEW</span></a>
  129. <ul class="nav nav-second-level">
  130. <li><a href="toastr_notifications.html">Notification</a></li>
  131. <li><a href="nestable_list.html">Nestable list</a></li>
  132. <li><a href="agile_board.html">Agile board</a></li>
  133. <li><a href="timeline_2.html">Timeline v.2</a></li>
  134. <li><a href="diff.html">Diff</a></li>
  135. <li class="active"><a href="i18support.html">i18 support</a></li>
  136. <li><a href="sweetalert.html">Sweet alert</a></li>
  137. <li><a href="idle_timer.html">Idle timer</a></li>
  138. <li><a href="truncate.html">Truncate</a></li>
  139. <li><a href="spinners.html">Spinners</a></li>
  140. <li><a href="tinycon.html">Live favicon</a></li>
  141. <li><a href="google_maps.html">Google maps</a></li>
  142. <li><a href="code_editor.html">Code editor</a></li>
  143. <li><a href="modal_window.html">Modal window</a></li>
  144. <li><a href="clipboard.html">Clipboard</a></li>
  145. <li><a href="forum_main.html">Forum view</a></li>
  146. <li><a href="validation.html">Validation</a></li>
  147. <li><a href="tree_view.html">Tree view</a></li>
  148. <li><a href="loading_buttons.html">Loading buttons</a></li>
  149. <li><a href="chat_view.html">Chat view</a></li>
  150. <li><a href="masonry.html">Masonry</a></li>
  151. <li><a href="tour.html">Tour</a></li>
  152. </ul>
  153. </li>
  154. <li>
  155. <a href="#"><i class="fa fa-flask"></i> <span class="nav-label" data-i18n="nav.uielements">UI Elements</span><span class="fa arrow"></span></a>
  156. <ul class="nav nav-second-level collapse">
  157. <li><a href="typography.html">Typography</a></li>
  158. <li><a href="icons.html">Icons</a></li>
  159. <li><a href="draggable_panels.html">Draggable Panels</a></li> <li><a href="resizeable_panels.html">Resizeable Panels</a></li>
  160. <li><a href="buttons.html">Buttons</a></li>
  161. <li><a href="video.html">Video</a></li>
  162. <li><a href="tabs_panels.html">Panels</a></li>
  163. <li><a href="tabs.html">Tabs</a></li>
  164. <li><a href="notifications.html">Notifications & Tooltips</a></li>
  165. <li><a href="badges_labels.html">Badges, Labels, Progress</a></li>
  166. </ul>
  167. </li>
  168. <li>
  169. <a href="grid_options.html"><i class="fa fa-laptop"></i> <span class="nav-label" data-i18n="nav.gridoptions">Grid options</span></a>
  170. </li>
  171. <li>
  172. <a href="#"><i class="fa fa-table"></i> <span class="nav-label" data-i18n="nav.tables">Tables</span><span class="fa arrow"></span></a>
  173. <ul class="nav nav-second-level collapse">
  174. <li><a href="table_basic.html">Static Tables</a></li>
  175. <li><a href="table_data_tables.html">Data Tables</a></li>
  176. <li><a href="table_foo_table.html">Foo Tables</a></li>
  177. <li><a href="jq_grid.html">jqGrid</a></li>
  178. </ul>
  179. </li>
  180. <li>
  181. <a href="#"><i class="fa fa-shopping-cart"></i> <span class="nav-label" data-i18n="nav.ecommerce">E-commerce</span><span class="fa arrow"></span></a>
  182. <ul class="nav nav-second-level collapse">
  183. <li><a href="ecommerce_products_grid.html">Products grid</a></li>
  184. <li><a href="ecommerce_product_list.html">Products list</a></li>
  185. <li><a href="ecommerce_product.html">Product edit</a></li>
  186. <li><a href="ecommerce_product_detail.html">Product detail</a></li>
  187. <li><a href="ecommerce-cart.html">Cart</a></li>
  188. <li><a href="ecommerce-orders.html">Orders</a></li>
  189. <li><a href="ecommerce_payments.html">Credit Card form</a></li>
  190. </ul>
  191. </li>
  192. <li>
  193. <a href="#"><i class="fa fa-picture-o"></i> <span class="nav-label" data-i18n="nav.gallery">Gallery</span><span class="fa arrow"></span></a>
  194. <ul class="nav nav-second-level collapse">
  195. <li><a href="basic_gallery.html">Lightbox Gallery</a></li>
  196. <li><a href="slick_carousel.html">Slick Carousel</a></li>
  197. <li><a href="carousel.html">Bootstrap Carousel</a></li>
  198. </ul>
  199. </li>
  200. <li>
  201. <a href="#"><i class="fa fa-sitemap"></i> <span class="nav-label" data-i18n="nav.menulevels">Menu Levels </span><span class="fa arrow"></span></a>
  202. <ul class="nav nav-second-level collapse">
  203. <li>
  204. <a href="#">Third Level <span class="fa arrow"></span></a>
  205. <ul class="nav nav-third-level">
  206. <li>
  207. <a href="#">Third Level Item</a>
  208. </li>
  209. <li>
  210. <a href="#">Third Level Item</a>
  211. </li>
  212. <li>
  213. <a href="#">Third Level Item</a>
  214. </li>
  215. </ul>
  216. </li>
  217. <li><a href="#">Second Level Item</a></li>
  218. <li>
  219. <a href="#">Second Level Item</a></li>
  220. <li>
  221. <a href="#">Second Level Item</a></li>
  222. </ul>
  223. </li>
  224. <li>
  225. <a href="css_animation.html"><i class="fa fa-magic"></i> <span class="nav-label" data-i18n="nav.animations">CSS Animations </span><span class="label label-info pull-right">62</span></a>
  226. </li>
  227. <li class="landing_link">
  228. <a target="_blank" href="landing.html"><i class="fa fa-star"></i> <span class="nav-label" data-i18n="nav.landing">Landing Page</span> <span class="label label-warning pull-right">NEW</span></a>
  229. </li>
  230. <li class="special_link">
  231. <a href="package.html"><i class="fa fa-database"></i> <span class="nav-label" data-i18n="nav.package">Package</span></a>
  232. </li>
  233. </ul>
  234. </div>
  235. </nav>
  236. <div id="page-wrapper" class="gray-bg">
  237. <div class="row border-bottom">
  238. <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
  239. <div class="navbar-header">
  240. <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
  241. <form role="search" class="navbar-form-custom" action="search_results.html">
  242. <div class="form-group">
  243. <input type="text" placeholder="Search for something..." class="form-control" name="top-search" id="top-search">
  244. </div>
  245. </form>
  246. </div>
  247. <ul class="nav navbar-top-links navbar-right">
  248. <li>
  249. <span class="m-r-sm text-muted welcome-message" data-i18n="topnav.welcometext">Welcome to INSPINIA+ Admin Theme.</span>
  250. </li>
  251. <li class="dropdown">
  252. <a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
  253. <i class="fa fa-envelope"></i> <span class="label label-warning">16</span>
  254. </a>
  255. <ul class="dropdown-menu dropdown-messages">
  256. <li>
  257. <div class="dropdown-messages-box">
  258. <a href="profile.html" class="pull-left">
  259. <img alt="image" class="img-circle" src="img/a7.jpg">
  260. </a>
  261. <div class="media-body">
  262. <small class="pull-right">46h ago</small>
  263. <strong>Mike Loreipsum</strong> started following <strong>Monica Smith</strong>. <br>
  264. <small class="text-muted">3 days ago at 7:58 pm - 10.06.2014</small>
  265. </div>
  266. </div>
  267. </li>
  268. <li class="divider"></li>
  269. <li>
  270. <div class="dropdown-messages-box">
  271. <a href="profile.html" class="pull-left">
  272. <img alt="image" class="img-circle" src="img/a4.jpg">
  273. </a>
  274. <div class="media-body ">
  275. <small class="pull-right text-navy">5h ago</small>
  276. <strong>Chris Johnatan Overtunk</strong> started following <strong>Monica Smith</strong>. <br>
  277. <small class="text-muted">Yesterday 1:21 pm - 11.06.2014</small>
  278. </div>
  279. </div>
  280. </li>
  281. <li class="divider"></li>
  282. <li>
  283. <div class="dropdown-messages-box">
  284. <a href="profile.html" class="pull-left">
  285. <img alt="image" class="img-circle" src="img/profile.jpg">
  286. </a>
  287. <div class="media-body ">
  288. <small class="pull-right">23h ago</small>
  289. <strong>Monica Smith</strong> love <strong>Kim Smith</strong>. <br>
  290. <small class="text-muted">2 days ago at 2:30 am - 11.06.2014</small>
  291. </div>
  292. </div>
  293. </li>
  294. <li class="divider"></li>
  295. <li>
  296. <div class="text-center link-block">
  297. <a href="mailbox.html">
  298. <i class="fa fa-envelope"></i> <strong>Read All Messages</strong>
  299. </a>
  300. </div>
  301. </li>
  302. </ul>
  303. </li>
  304. <li class="dropdown">
  305. <a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
  306. <i class="fa fa-bell"></i> <span class="label label-primary">8</span>
  307. </a>
  308. <ul class="dropdown-menu dropdown-alerts">
  309. <li>
  310. <a href="mailbox.html">
  311. <div>
  312. <i class="fa fa-envelope fa-fw"></i> You have 16 messages
  313. <span class="pull-right text-muted small">4 minutes ago</span>
  314. </div>
  315. </a>
  316. </li>
  317. <li class="divider"></li>
  318. <li>
  319. <a href="profile.html">
  320. <div>
  321. <i class="fa fa-twitter fa-fw"></i> 3 New Followers
  322. <span class="pull-right text-muted small">12 minutes ago</span>
  323. </div>
  324. </a>
  325. </li>
  326. <li class="divider"></li>
  327. <li>
  328. <a href="grid_options.html">
  329. <div>
  330. <i class="fa fa-upload fa-fw"></i> Server Rebooted
  331. <span class="pull-right text-muted small">4 minutes ago</span>
  332. </div>
  333. </a>
  334. </li>
  335. <li class="divider"></li>
  336. <li>
  337. <div class="text-center link-block">
  338. <a href="notifications.html">
  339. <strong>See All Alerts</strong>
  340. <i class="fa fa-angle-right"></i>
  341. </a>
  342. </div>
  343. </li>
  344. </ul>
  345. </li>
  346. <li>
  347. <a href="login.html">
  348. <i class="fa fa-sign-out"></i> <span data-i18n="topnav.logout">Log out</span>
  349. </a>
  350. </li>
  351. </ul>
  352. </nav>
  353. </div>
  354. <div class="row wrapper border-bottom white-bg page-heading">
  355. <div class="col-lg-10">
  356. <h2>i18 support</h2>
  357. <ol class="breadcrumb">
  358. <li>
  359. <a href="index.html">Home</a>
  360. </li>
  361. <li>
  362. <a>Miscellaneous</a>
  363. </li>
  364. <li class="active">
  365. <strong>i18 support</strong>
  366. </li>
  367. </ol>
  368. </div>
  369. <div class="col-lg-2">
  370. </div>
  371. </div>
  372. <div class="wrapper wrapper-content animated fadeInRight">
  373. <div class="row">
  374. <div class="col-lg-8">
  375. <div class="ibox ">
  376. <div class="ibox-title">
  377. <h5>i18next</h5>
  378. </div>
  379. <div class="ibox-content">
  380. <p>
  381. <strong>i18next</strong> is a full-featured i18n javascript library for translating your webapplication.
  382. </p>
  383. <h4>
  384. Example demo text
  385. </h4>
  386. <div class="i18container">
  387. <span data-i18n="demo.text1"></span>
  388. </div>
  389. <h5>
  390. You can change the language of demo text as well as the menu with simple function fire on buttons click. Try it:
  391. </h5>
  392. <a class="btn btn-white set_en active"><img src="img/flags/16/United-States.png"> EN</a>
  393. <a class="btn btn-white set_es"><img src="img/flags/16/Spain.png"> ES</a>
  394. </div>
  395. </div>
  396. <div class="ibox ">
  397. <div class="ibox-title">
  398. <h5>i18next configuration</h5>
  399. </div>
  400. <div class="ibox-content">
  401. <h3>Step 1</h3>
  402. <p>
  403. To add i18 support for your app you need to define what text you would like to translate. The best way to define your text is to store it in external json file.
  404. For example:
  405. </p>
  406. <strong>
  407. Each language you should have own json file!
  408. </strong>
  409. <div class="row">
  410. <div class="col-md-6">
  411. <h5>en.json</h5>
  412. <pre>
  413. "app":
  414. "name": "INSPINIA 2.4"
  415. },
  416. "nav":
  417. "dashboard": "Dashboards",
  418. "graphs": "Graphs",
  419. "mailbox": "Mailbox",
  420. },
  421. }</pre>
  422. </div>
  423. <div class="col-md-6">
  424. <h5>es.json</h5>
  425. <pre>
  426. "app":
  427. "name": "INSPINIA 2.4"
  428. },
  429. "nav":
  430. "dashboard": "Salpicadero",
  431. "graphs": "Gráficos",
  432. "mailbox": "El correo",
  433. },
  434. }</pre>
  435. </div>
  436. </div>
  437. <h3>Step 2</h3>
  438. <p>
  439. Next you need to add html indicators in all place you want to use i18.
  440. </p>
  441. <pre>
  442. &lt;div id="i18_links"&gt;
  443. &lt;span data-i18n="nav.dashboard"&gt; &lt;/span&gt;
  444. &lt;span data-i18n="nav.graphs"&gt; &lt;/span&gt;
  445. &lt;span data-i18n="nav.mailbox"&gt; &lt;/span&gt;
  446. &lt;/div&gt;
  447. </pre>
  448. <h3>Step 3</h3>
  449. <p>
  450. Next you need to initialise the i18next plugin:
  451. <br>
  452. <span class="small">
  453. json files are located in /locales folder.
  454. </span>
  455. </p>
  456. <pre>
  457. $.i18n.init(
  458. resGetPath: 'locales/__lng__.json',
  459. load: 'unspecific',
  460. fallbackLng: false,
  461. lng: 'en'
  462. }, function (t)
  463. $('.i18_links').i18n();
  464. });</pre>
  465. <h3>Step 4</h3>
  466. <p>
  467. After that if you want to change the language you just need to add buttons and fire the i18n.setLng() function.
  468. </p>
  469. <div class="row">
  470. <div class="col-md-6">
  471. <h4>
  472. HTML markup
  473. </h4>
  474. <pre>
  475. &lt;a class="btn btn-white set_en"&gt; Set EN language&lt;/a&gt;
  476. &lt;a class="btn btn-white set_es"&gt; Set ES language&lt;/a&gt;</pre>
  477. </div>
  478. <div class="col-md-6">
  479. <h4>
  480. Javascript code
  481. </h4>
  482. <pre>
  483. $('.set_en').on('click', function ()
  484. i18n.setLng('en', function()
  485. $('.i18_links').i18n();
  486. });
  487. });
  488. $('.set_es').on('click', function ()
  489. i18n.setLng('es', function()
  490. $('.i18_links').i18n();
  491. });
  492. });</pre>
  493. </div>
  494. </div>
  495. <p>
  496. More info about specific function and configuration options you can find on <a target="_blank" href="http://i18next.github.io/i18next/"> official i18next documentation.</a>
  497. </p>
  498. </div>
  499. </div>
  500. </div>
  501. <div class="col-lg-4">
  502. <div class="ibox">
  503. <div class="ibox-title">
  504. <h5>250 flags</h5>
  505. </div>
  506. <div class="ibox-content text-center">
  507. <p>
  508. Set of the 780 flag icons for all countries. All flags are avalible with 16x16, 32x32 and 64x64 size.
  509. </p>
  510. <div class="flags">
  511. <img src="img/flags/32/Abkhazia.png" alt="flag">
  512. <img src="img/flags/32/Afghanistan.png" alt="flag">
  513. <img src="img/flags/32/Aland.png" alt="flag">
  514. <img src="img/flags/32/Albania.png" alt="flag">
  515. <img src="img/flags/32/Algeria.png" alt="flag">
  516. <img src="img/flags/32/American-Samoa.png" alt="flag">
  517. <img src="img/flags/32/Andorra.png" alt="flag">
  518. <img src="img/flags/32/Angola.png" alt="flag">
  519. <img src="img/flags/32/Anguilla.png" alt="flag">
  520. <img src="img/flags/32/Antarctica.png" alt="flag">
  521. <img src="img/flags/32/Antigua-and-Barbuda.png" alt="flag">
  522. <img src="img/flags/32/Argentina.png" alt="flag">
  523. <img src="img/flags/32/Armenia.png" alt="flag">
  524. <img src="img/flags/32/Aruba.png" alt="flag">
  525. <img src="img/flags/32/Australia.png" alt="flag">
  526. <img src="img/flags/32/Austria.png" alt="flag">
  527. <img src="img/flags/32/Azerbaijan.png" alt="flag">
  528. <img src="img/flags/32/Bahamas.png" alt="flag">
  529. <img src="img/flags/32/Bahrain.png" alt="flag">
  530. <img src="img/flags/32/Bangladesh.png" alt="flag">
  531. <img src="img/flags/32/Barbados.png" alt="flag">
  532. <img src="img/flags/32/Basque-Country.png" alt="flag">
  533. <img src="img/flags/32/Belarus.png" alt="flag">
  534. <img src="img/flags/32/Belgium.png" alt="flag">
  535. <img src="img/flags/32/Belize.png" alt="flag">
  536. <img src="img/flags/32/Benin.png" alt="flag">
  537. <img src="img/flags/32/Bermuda.png" alt="flag">
  538. <img src="img/flags/32/Bhutan.png" alt="flag">
  539. <img src="img/flags/32/Bolivia.png" alt="flag">
  540. <img src="img/flags/32/Bosnia-and-Herzegovina.png" alt="flag">
  541. <img src="img/flags/32/Botswana.png" alt="flag">
  542. <img src="img/flags/32/Brazil.png" alt="flag">
  543. <img src="img/flags/32/British-Antarctic-Territory.png" alt="flag">
  544. <img src="img/flags/32/British-Virgin-Islands.png" alt="flag">
  545. <img src="img/flags/32/Brunei.png" alt="flag">
  546. <img src="img/flags/32/Bulgaria.png" alt="flag">
  547. <img src="img/flags/32/Burkina-Faso.png" alt="flag">
  548. <img src="img/flags/32/Burundi.png" alt="flag">
  549. <img src="img/flags/32/Cambodia.png" alt="flag">
  550. <img src="img/flags/32/Cameroon.png" alt="flag">
  551. <img src="img/flags/32/Canada.png" alt="flag">
  552. <img src="img/flags/32/Canary-Islands.png" alt="flag">
  553. <img src="img/flags/32/Cape-Verde.png" alt="flag">
  554. <img src="img/flags/32/Cayman-Islands.png" alt="flag">
  555. <img src="img/flags/32/Central-African-Republic.png" alt="flag">
  556. <img src="img/flags/32/Chad.png" alt="flag">
  557. <img src="img/flags/32/Chile.png" alt="flag">
  558. <img src="img/flags/32/China.png" alt="flag">
  559. <img src="img/flags/32/Christmas-Island.png" alt="flag">
  560. <img src="img/flags/32/Cocos-Keeling-Islands.png" alt="flag">
  561. <img src="img/flags/32/Colombia.png" alt="flag">
  562. <img src="img/flags/32/Commonwealth.png" alt="flag">
  563. <img src="img/flags/32/Comoros.png" alt="flag">
  564. <img src="img/flags/32/Cook-Islands.png" alt="flag">
  565. <img src="img/flags/32/Costa-Rica.png" alt="flag">
  566. <img src="img/flags/32/Cote-dIvoire.png" alt="flag">
  567. <img src="img/flags/32/Croatia.png" alt="flag">
  568. <img src="img/flags/32/Cuba.png" alt="flag">
  569. <img src="img/flags/32/Curacao.png" alt="flag">
  570. <img src="img/flags/32/Cyprus.png" alt="flag">
  571. <img src="img/flags/32/Czech-Republic.png" alt="flag">
  572. <img src="img/flags/32/Democratic-Republic-of-the-Congo.png" alt="flag">
  573. <img src="img/flags/32/Denmark.png" alt="flag">
  574. <img src="img/flags/32/Djibouti.png" alt="flag">
  575. <img src="img/flags/32/Dominica.png" alt="flag">
  576. <img src="img/flags/32/Dominican-Republic.png" alt="flag">
  577. <img src="img/flags/32/East-Timor.png" alt="flag">
  578. <img src="img/flags/32/Ecuador.png" alt="flag">
  579. <img src="img/flags/32/Egypt.png" alt="flag">
  580. <img src="img/flags/32/El-Salvador.png" alt="flag">
  581. <img src="img/flags/32/England.png" alt="flag">
  582. <img src="img/flags/32/Equatorial-Guinea.png" alt="flag">
  583. <img src="img/flags/32/Eritrea.png" alt="flag">
  584. <img src="img/flags/32/Estonia.png" alt="flag">
  585. <img src="img/flags/32/Ethiopia.png" alt="flag">
  586. <img src="img/flags/32/European-Union.png" alt="flag">
  587. <img src="img/flags/32/Falkland-Islands.png" alt="flag">
  588. <img src="img/flags/32/Faroes.png" alt="flag">
  589. <img src="img/flags/32/Fiji.png" alt="flag">
  590. <img src="img/flags/32/Finland.png" alt="flag">
  591. <img src="img/flags/32/France.png" alt="flag">
  592. <img src="img/flags/32/French-Polynesia.png" alt="flag">
  593. <img src="img/flags/32/French-Southern-Territories.png" alt="flag">
  594. <img src="img/flags/32/Gabon.png" alt="flag">
  595. <img src="img/flags/32/Gambia.png" alt="flag">
  596. <img src="img/flags/32/Georgia.png" alt="flag">
  597. <img src="img/flags/32/Germany.png" alt="flag">
  598. <img src="img/flags/32/Ghana.png" alt="flag">
  599. <img src="img/flags/32/Gibraltar.png" alt="flag">
  600. <img src="img/flags/32/GoSquared.png" alt="flag">
  601. <img src="img/flags/32/Greece.png" alt="flag">
  602. <img src="img/flags/32/Greenland.png" alt="flag">
  603. <img src="img/flags/32/Grenada.png" alt="flag">
  604. <img src="img/flags/32/Guam.png" alt="flag">
  605. <img src="img/flags/32/Guatemala.png" alt="flag">
  606. <img src="img/flags/32/Guernsey.png" alt="flag">
  607. <img src="img/flags/32/Guinea-Bissau.png" alt="flag">
  608. <img src="img/flags/32/Guinea.png" alt="flag">
  609. <img src="img/flags/32/Guyana.png" alt="flag">
  610. <img src="img/flags/32/Haiti.png" alt="flag">
  611. <img src="img/flags/32/Honduras.png" alt="flag">
  612. <img src="img/flags/32/Hong-Kong.png" alt="flag">
  613. <img src="img/flags/32/Hungary.png" alt="flag">
  614. <img src="img/flags/32/Iceland.png" alt="flag">
  615. <img src="img/flags/32/India.png" alt="flag">
  616. <img src="img/flags/32/Indonesia.png" alt="flag">
  617. <img src="img/flags/32/Iran.png" alt="flag">
  618. <img src="img/flags/32/Iraq.png" alt="flag">
  619. <img src="img/flags/32/Ireland.png" alt="flag">
  620. <img src="img/flags/32/Isle-of-Man.png" alt="flag">
  621. <img src="img/flags/32/Israel.png" alt="flag">
  622. <img src="img/flags/32/Italy.png" alt="flag">
  623. <img src="img/flags/32/Jamaica.png" alt="flag">
  624. <img src="img/flags/32/Japan.png" alt="flag">
  625. <img src="img/flags/32/Jersey.png" alt="flag">
  626. <img src="img/flags/32/Jordan.png" alt="flag">
  627. <img src="img/flags/32/Kazakhstan.png" alt="flag">
  628. <img src="img/flags/32/Kenya.png" alt="flag">
  629. <img src="img/flags/32/Kiribati.png" alt="flag">
  630. <img src="img/flags/32/Kosovo.png" alt="flag">
  631. <img src="img/flags/32/Kuwait.png" alt="flag">
  632. <img src="img/flags/32/Kyrgyzstan.png" alt="flag">
  633. <img src="img/flags/32/Laos.png" alt="flag">
  634. <img src="img/flags/32/Latvia.png" alt="flag">
  635. <img src="img/flags/32/Lebanon.png" alt="flag">
  636. <img src="img/flags/32/Lesotho.png" alt="flag">
  637. <img src="img/flags/32/Liberia.png" alt="flag">
  638. <img src="img/flags/32/Libya.png" alt="flag">
  639. <img src="img/flags/32/Liechtenstein.png" alt="flag">
  640. <img src="img/flags/32/Lithuania.png" alt="flag">
  641. <img src="img/flags/32/Luxembourg.png" alt="flag">
  642. <img src="img/flags/32/Macau.png" alt="flag">
  643. <img src="img/flags/32/Macedonia.png" alt="flag">
  644. <img src="img/flags/32/Madagascar.png" alt="flag">
  645. <img src="img/flags/32/Malawi.png" alt="flag">
  646. <img src="img/flags/32/Malaysia.png" alt="flag">
  647. <img src="img/flags/32/Maldives.png" alt="flag">
  648. <img src="img/flags/32/Mali.png" alt="flag">
  649. <img src="img/flags/32/Malta.png" alt="flag">
  650. <img src="img/flags/32/Mars.png" alt="flag">
  651. <img src="img/flags/32/Marshall-Islands.png" alt="flag">
  652. <img src="img/flags/32/Martinique.png" alt="flag">
  653. <img src="img/flags/32/Mauritania.png" alt="flag">
  654. <img src="img/flags/32/Mauritius.png" alt="flag">
  655. <img src="img/flags/32/Mayotte.png" alt="flag">
  656. <img src="img/flags/32/Mexico.png" alt="flag">
  657. <img src="img/flags/32/Micronesia.png" alt="flag">
  658. <img src="img/flags/32/Moldova.png" alt="flag">
  659. <img src="img/flags/32/Monaco.png" alt="flag">
  660. <img src="img/flags/32/Mongolia.png" alt="flag">
  661. <img src="img/flags/32/Montenegro.png" alt="flag">
  662. <img src="img/flags/32/Montserrat.png" alt="flag">
  663. <img src="img/flags/32/Morocco.png" alt="flag">
  664. <img src="img/flags/32/Mozambique.png" alt="flag">
  665. <img src="img/flags/32/Myanmar.png" alt="flag">
  666. <img src="img/flags/32/NATO.png" alt="flag">
  667. <img src="img/flags/32/Nagorno-Karabakh.png" alt="flag">
  668. <img src="img/flags/32/Namibia.png" alt="flag">
  669. <img src="img/flags/32/Nauru.png" alt="flag">
  670. <img src="img/flags/32/Nepal.png" alt="flag">
  671. <img src="img/flags/32/Netherlands-Antilles.png" alt="flag">
  672. <img src="img/flags/32/Netherlands.png" alt="flag">
  673. <img src="img/flags/32/New-Caledonia.png" alt="flag">
  674. <img src="img/flags/32/New-Zealand.png" alt="flag">
  675. <img src="img/flags/32/Nicaragua.png" alt="flag">
  676. <img src="img/flags/32/Niger.png" alt="flag">
  677. <img src="img/flags/32/Nigeria.png" alt="flag">
  678. <img src="img/flags/32/Niue.png" alt="flag">
  679. <img src="img/flags/32/Norfolk-Island.png" alt="flag">
  680. <img src="img/flags/32/North-Korea.png" alt="flag">
  681. <img src="img/flags/32/Northern-Cyprus.png" alt="flag">
  682. <img src="img/flags/32/Northern-Mariana-Islands.png" alt="flag">
  683. <img src="img/flags/32/Norway.png" alt="flag">
  684. <img src="img/flags/32/Olympics.png" alt="flag">
  685. <img src="img/flags/32/Oman.png" alt="flag">
  686. <img src="img/flags/32/Pakistan.png" alt="flag">
  687. <img src="img/flags/32/Palau.png" alt="flag">
  688. <img src="img/flags/32/Palestine.png" alt="flag">
  689. <img src="img/flags/32/Panama.png" alt="flag">
  690. <img src="img/flags/32/Papua-New-Guinea.png" alt="flag">
  691. <img src="img/flags/32/Paraguay.png" alt="flag">
  692. <img src="img/flags/32/Peru.png" alt="flag">
  693. <img src="img/flags/32/Philippines.png" alt="flag">
  694. <img src="img/flags/32/Pitcairn-Islands.png" alt="flag">
  695. <img src="img/flags/32/Poland.png" alt="flag">
  696. <img src="img/flags/32/Portugal.png" alt="flag">
  697. <img src="img/flags/32/Puerto-Rico.png" alt="flag">
  698. <img src="img/flags/32/Qatar.png" alt="flag">
  699. <img src="img/flags/32/Red-Cross.png" alt="flag">
  700. <img src="img/flags/32/Republic-of-the-Congo.png" alt="flag">
  701. <img src="img/flags/32/Romania.png" alt="flag">
  702. <img src="img/flags/32/Russia.png" alt="flag">
  703. <img src="img/flags/32/Rwanda.png" alt="flag">
  704. <img src="img/flags/32/Saint-Barthelemy.png" alt="flag">
  705. <img src="img/flags/32/Saint-Helena.png" alt="flag">
  706. <img src="img/flags/32/Saint-Kitts-and-Nevis.png" alt="flag">
  707. <img src="img/flags/32/Saint-Lucia.png" alt="flag">
  708. <img src="img/flags/32/Saint-Martin.png" alt="flag">
  709. <img src="img/flags/32/Saint-Vincent-and-the-Grenadines.png" alt="flag">
  710. <img src="img/flags/32/Samoa.png" alt="flag">
  711. <img src="img/flags/32/San-Marino.png" alt="flag">
  712. <img src="img/flags/32/Sao-Tome-and-Principe.png" alt="flag">
  713. <img src="img/flags/32/Saudi-Arabia.png" alt="flag">
  714. <img src="img/flags/32/Scotland.png" alt="flag">
  715. <img src="img/flags/32/Senegal.png" alt="flag">
  716. <img src="img/flags/32/Serbia.png" alt="flag">
  717. <img src="img/flags/32/Seychelles.png" alt="flag">
  718. <img src="img/flags/32/Sierra-Leone.png" alt="flag">
  719. <img src="img/flags/32/Singapore.png" alt="flag">
  720. <img src="img/flags/32/Slovakia.png" alt="flag">
  721. <img src="img/flags/32/Slovenia.png" alt="flag">
  722. <img src="img/flags/32/Solomon-Islands.png" alt="flag">
  723. <img src="img/flags/32/Somalia.png" alt="flag">
  724. <img src="img/flags/32/Somaliland.png" alt="flag">
  725. <img src="img/flags/32/South-Africa.png" alt="flag">
  726. <img src="img/flags/32/South-Georgia-and-the-South-Sandwich-Islands.png" alt="flag">
  727. <img src="img/flags/32/South-Korea.png" alt="flag">
  728. <img src="img/flags/32/South-Ossetia.png" alt="flag">
  729. <img src="img/flags/32/South-Sudan.png" alt="flag">
  730. <img src="img/flags/32/Spain.png" alt="flag">
  731. <img src="img/flags/32/Sri-Lanka.png" alt="flag">
  732. <img src="img/flags/32/Sudan.png" alt="flag">
  733. <img src="img/flags/32/Suriname.png" alt="flag">
  734. <img src="img/flags/32/Swaziland.png" alt="flag">
  735. <img src="img/flags/32/Sweden.png" alt="flag">
  736. <img src="img/flags/32/Switzerland.png" alt="flag">
  737. <img src="img/flags/32/Syria.png" alt="flag">
  738. <img src="img/flags/32/Taiwan.png" alt="flag">
  739. <img src="img/flags/32/Tajikistan.png" alt="flag">
  740. <img src="img/flags/32/Tanzania.png" alt="flag">
  741. <img src="img/flags/32/Thailand.png" alt="flag">
  742. <img src="img/flags/32/Togo.png" alt="flag">
  743. <img src="img/flags/32/Tokelau.png" alt="flag">
  744. <img src="img/flags/32/Tonga.png" alt="flag">
  745. <img src="img/flags/32/Trinidad-and-Tobago.png" alt="flag">
  746. <img src="img/flags/32/Tunisia.png" alt="flag">
  747. <img src="img/flags/32/Turkey.png" alt="flag">
  748. <img src="img/flags/32/Turkmenistan.png" alt="flag">
  749. <img src="img/flags/32/Turks-and-Caicos-Islands.png" alt="flag">
  750. <img src="img/flags/32/Tuvalu.png" alt="flag">
  751. <img src="img/flags/32/US-Virgin-Islands.png" alt="flag">
  752. <img src="img/flags/32/Uganda.png" alt="flag">
  753. <img src="img/flags/32/Ukraine.png" alt="flag">
  754. <img src="img/flags/32/United-Arab-Emirates.png" alt="flag">
  755. <img src="img/flags/32/United-Kingdom.png" alt="flag">
  756. <img src="img/flags/32/United-Nations.png" alt="flag">
  757. <img src="img/flags/32/United-States.png" alt="flag">
  758. <img src="img/flags/32/Unknown.png" alt="flag">
  759. <img src="img/flags/32/Uruguay.png" alt="flag">
  760. <img src="img/flags/32/Uzbekistan.png" alt="flag">
  761. <img src="img/flags/32/Vanuatu.png" alt="flag">
  762. <img src="img/flags/32/Vatican-City.png" alt="flag">
  763. <img src="img/flags/32/Venezuela.png" alt="flag">
  764. <img src="img/flags/32/Vietnam.png" alt="flag">
  765. <img src="img/flags/32/Wales.png" alt="flag">
  766. <img src="img/flags/32/Wallis-And-Futuna.png" alt="flag">
  767. <img src="img/flags/32/Western-Sahara.png" alt="flag">
  768. <img src="img/flags/32/Yemen.png" alt="flag">
  769. <img src="img/flags/32/Zambia.png" alt="flag">
  770. <img src="img/flags/32/Zimbabwe.png" alt="flag">
  771. </div>
  772. </div>
  773. </div>
  774. </div>
  775. </div>
  776. </div>
  777. <div class="footer">
  778. <div class="pull-right">
  779. 10GB of <strong>250GB</strong> Free.
  780. </div>
  781. <div>
  782. <strong>Copyright</strong> Example Company &copy; 2014-2015
  783. </div>
  784. </div>
  785. </div>
  786. </div>
  787. <!-- Mainly scripts -->
  788. <script src="js/jquery-2.1.1.js"></script>
  789. <script src="js/bootstrap.min.js"></script>
  790. <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
  791. <script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
  792. <!-- Custom and plugin javascript -->
  793. <script src="js/inspinia.js"></script>
  794. <script src="js/plugins/pace/pace.min.js"></script>
  795. <!-- i18next -->
  796. <script src="js/plugins/i18next/i18next.min.js"></script>
  797. <script>
  798. $(document).ready(function (){
  799. $.i18n.init({
  800. resGetPath: 'locales/__lng__.json',
  801. load: 'unspecific',
  802. fallbackLng: false,
  803. lng: 'en'
  804. }, function (t){
  805. $('.i18container').i18n();
  806. $('#side-menu').i18n();
  807. $('.navbar-top-links').i18n();
  808. });
  809. $('.set_en').on('click', function (){
  810. i18n.setLng('en', function(){
  811. $('.i18container').i18n();
  812. $('#side-menu').i18n();
  813. $('.navbar-top-links').i18n();
  814. $('.set_en').addClass('active');
  815. $('.set_es').removeClass('active');
  816. });
  817. });
  818. $('.set_es').on('click', function (){
  819. i18n.setLng('es', function(){
  820. $('.i18container').i18n();
  821. $('#side-menu').i18n();
  822. $('.navbar-top-links').i18n();
  823. $('.set_es').addClass('active');
  824. $('.set_en').removeClass('active');
  825. });
  826. })
  827. });
  828. </script>
  829. </body>
  830. </html>