docusaurus/assets/js/6199064d.3c41ee4a.js
2024-11-22 15:08:37 +00:00

1 line
No EOL
4.8 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["81183"],{23102:function(e,t,s){s.r(t),s.d(t,{assets:function(){return u},contentTitle:function(){return o},default:function(){return d},frontMatter:function(){return i},metadata:function(){return n},toc:function(){return l}});var n=s(61068),r=s(24246),a=s(80980);let i={title:"Releasing Docusaurus i18n",authors:["slorber"],tags:["release","i18n"],image:"/img/blog/2021-03-09-releasing-docusaurus-i18n/social-card.png"},o=void 0,u={authorsImageUrls:[void 0]},l=[];function c(e){let t={a:"a",p:"p",strong:"strong",...(0,a.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(t.p,{children:["Today, we officially release ",(0,r.jsx)(t.strong,{children:(0,r.jsx)(t.a,{href:"https://docusaurus.io/docs/i18n/introduction",children:"Docusaurus 2 i18n"})})," (",(0,r.jsx)(t.a,{href:"https://en.wikipedia.org/wiki/Internationalization_and_localization",children:"internationalization"}),"), as part of ",(0,r.jsx)(t.a,{href:"https://github.com/facebook/docusaurus/releases/tag/v2.0.0-alpha.71",children:"2.0.0-alpha.71"}),"."]}),"\n",(0,r.jsxs)(t.p,{children:["Docusaurus 2 has now reached ",(0,r.jsx)(t.strong,{children:"full feature parity with Docusaurus 1"}),". \uD83C\uDF89 And soon, after a few additional infrastructure updates and a bit more testing, the ",(0,r.jsx)(t.strong,{children:"first Docusaurus 2 beta"})," will be released."]}),"\n",(0,r.jsxs)(t.p,{children:[(0,r.jsx)(t.strong,{children:"We went the extra mile"}),", and the new i18n support is ",(0,r.jsx)(t.strong,{children:"even better than in Docusaurus 1"}),"."]}),"\n",(0,r.jsxs)(t.p,{children:["In this post, we will present you the ",(0,r.jsx)(t.strong,{children:"translation workflow"}),", explain some ",(0,r.jsx)(t.strong,{children:"design decisions"})," and ",(0,r.jsx)(t.strong,{children:"showcase early adopter sites"})," that just went live: ",(0,r.jsx)(t.a,{href:"https://jestjs.io/",children:"Jest"}),", ",(0,r.jsx)(t.a,{href:"https://learn.redwoodjs.com/",children:"Redwood"}),", and ",(0,r.jsx)(t.a,{href:"https://datagit.ir/",children:"Datagit"}),"."]}),"\n",(0,r.jsxs)(t.p,{children:["We also ",(0,r.jsx)(t.strong,{children:"dogfood"})," the i18n support on the ",(0,r.jsx)(t.strong,{children:"Docusaurus 2 site itself"}),", and this post is already available in ",(0,r.jsx)(t.a,{href:"https://docusaurus.io/blog/2021/03/09/releasing-docusaurus-i18n",children:"English"})," and ",(0,r.jsx)(t.a,{href:"https://docusaurus.io/fr/blog/2021/03/09/releasing-docusaurus-i18n",children:"French"}),"!"]})]})}function d(e={}){let{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(c,{...e})}):c(e)}},80980:function(e,t,s){s.d(t,{Z:function(){return o},a:function(){return i}});var n=s(27378);let r={},a=n.createContext(r);function i(e){let t=n.useContext(a);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),n.createElement(a.Provider,{value:t},e.children)}},61068:function(e){e.exports=JSON.parse('{"permalink":"/blog/2021/03/09/releasing-docusaurus-i18n","editUrl":"https://github.com/facebook/docusaurus/edit/main/website/blog/2021/03-09-releasing-docusaurus-i18n.mdx","source":"@site/blog/2021/03-09-releasing-docusaurus-i18n.mdx","title":"Releasing Docusaurus i18n","description":"Today, we officially release Docusaurus 2 i18n (internationalization), as part of 2.0.0-alpha.71.","date":"2021-03-09T00:00:00.000Z","tags":[{"inline":false,"label":"Release","permalink":"/blog/tags/release","description":"Blog posts about Docusaurus\' new releases"},{"inline":false,"label":"I18n","permalink":"/blog/tags/i-18-n"}],"readingTime":3.445,"hasTruncateMarker":true,"authors":[{"name":"S\xe9bastien Lorber","title":"Docusaurus maintainer, This Week In React editor","url":"https://thisweekinreact.com","page":{"permalink":"/blog/authors/slorber"},"description":"A freelance React and React-Native developer near Paris and Docusaurus maintainer. Also runs ThisWeekInReact.com, a newsletter to stay updated with the React ecosystem.\\n","socials":{"x":"https://x.com/sebastienlorber","linkedin":"https://www.linkedin.com/in/sebastienlorber/","github":"https://github.com/slorber","newsletter":"https://thisweekinreact.com"},"imageURL":"https://github.com/slorber.png","key":"slorber"}],"frontMatter":{"title":"Releasing Docusaurus i18n","authors":["slorber"],"tags":["release","i18n"],"image":"/img/blog/2021-03-09-releasing-docusaurus-i18n/social-card.png"},"unlisted":false,"lastUpdatedAt":1732287913000,"lastUpdatedBy":"S\xe9bastien Lorber","prevItem":{"title":"Announcing Docusaurus 2 Beta","permalink":"/blog/2021/05/12/announcing-docusaurus-two-beta"},"nextItem":{"title":"Docusaurus 2020 Recap","permalink":"/blog/2021/01/19/docusaurus-2020-recap"}}')}}]);