Skip to content

Commit

Permalink
add(ko): add korean version structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekotora committed Jul 16, 2024
1 parent 96803b5 commit ae87329
Show file tree
Hide file tree
Showing 7 changed files with 609 additions and 3 deletions.
8 changes: 6 additions & 2 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const config: Config = {
// to replace "en" with "zh-Hans".
i18n: {
defaultLocale: 'en',
locales: ['en', 'zh', 'jp'],
locales: ['en', 'zh', 'jp', 'ko'],
localeConfigs: {
en: {
label: 'English',
Expand All @@ -42,6 +42,10 @@ const config: Config = {
label: '日本語',
htmlLang: 'ja',
},
ko: {
label: '한국어',
htmlLang: 'ko',
},
},
},

Expand Down Expand Up @@ -89,7 +93,7 @@ const config: Config = {
'@easyops-cn/docusaurus-search-local',
{
hashed: true,
language: ["en", "zh", "jp"],
language: ["en", "zh", "jp", 'ko'],
},
],
],
Expand Down
344 changes: 344 additions & 0 deletions i18n/ko/code.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,344 @@
{
"authbar.contributions": {
"message": "Contributions"
},
"authbar.contributions.untranslated.title": {
"message": "Help us improve handbook!",
"description": "This title shows at bottom of doc page which not translated and used its english version."
},
"authbar.contributions.untranslated.message": {
"message": "The page you are reading does not have a version in the language you selected. Please help us translate it!",
"description": "This message shows at bottom of doc page which not translated and used its english version."
},
"authbar.contributions.authors": {
"message": "Authors"
},
"authbar.contributions.translators": {
"message": "Translators"
},
"authbar.lastUpdated": {
"message": "Last updated on"
},
"theme.ErrorPageContent.title": {
"message": "페이지에 오류가 발생하였습니다.",
"description": "The title of the fallback page when the page crashed"
},
"theme.BackToTopButton.buttonAriaLabel": {
"message": "맨 위로 스크롤하기",
"description": "The ARIA label for the back to top button"
},
"theme.blog.archive.title": {
"message": "게시물 목록",
"description": "The page & hero title of the blog archive page"
},
"theme.blog.archive.description": {
"message": "게시물 목록",
"description": "The page & hero description of the blog archive page"
},
"theme.blog.paginator.navAriaLabel": {
"message": "블로그 게시물 목록 탐색",
"description": "The ARIA label for the blog pagination"
},
"theme.blog.paginator.newerEntries": {
"message": "이전 페이지",
"description": "The label used to navigate to the newer blog posts page (previous page)"
},
"theme.blog.paginator.olderEntries": {
"message": "다음 페이지",
"description": "The label used to navigate to the older blog posts page (next page)"
},
"theme.blog.post.paginator.navAriaLabel": {
"message": "블로그 게시물 탐색",
"description": "The ARIA label for the blog posts pagination"
},
"theme.blog.post.paginator.newerPost": {
"message": "이전 게시물",
"description": "The blog post button label to navigate to the newer/previous post"
},
"theme.blog.post.paginator.olderPost": {
"message": "다음 게시물",
"description": "The blog post button label to navigate to the older/next post"
},
"theme.blog.post.plurals": {
"message": "{count}개 게시물",
"description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
},
"theme.blog.tagTitle": {
"message": "\"{tagName}\" 태그로 연결된 {nPosts}개의 게시물이 있습니다.",
"description": "The title of the page for a blog tag"
},
"theme.tags.tagsPageLink": {
"message": "모든 태그 보기",
"description": "The label of the link targeting the tag list page"
},
"theme.colorToggle.ariaLabel": {
"message": "어두운 모드와 밝은 모드 전환하기 (현재 {mode})",
"description": "The ARIA label for the navbar color mode toggle"
},
"theme.colorToggle.ariaLabel.mode.dark": {
"message": "어두운 모드",
"description": "The name for the dark color mode"
},
"theme.colorToggle.ariaLabel.mode.light": {
"message": "밝은 모드",
"description": "The name for the light color mode"
},
"theme.docs.breadcrumbs.navAriaLabel": {
"message": "Breadcrumbs",
"description": "The ARIA label for the breadcrumbs"
},
"theme.docs.DocCard.categoryDescription.plurals": {
"message": "{count} 항목",
"description": "The default description for a category card in the generated index about how many items this category includes"
},
"theme.docs.paginator.navAriaLabel": {
"message": "문서 페이지",
"description": "The ARIA label for the docs pagination"
},
"theme.docs.paginator.previous": {
"message": "이전",
"description": "The label used to navigate to the previous doc"
},
"theme.docs.paginator.next": {
"message": "다음",
"description": "The label used to navigate to the next doc"
},
"theme.docs.tagDocListPageTitle.nDocsTagged": {
"message": "{count}개 문서가",
"description": "Pluralized label for \"{count} docs tagged\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
},
"theme.docs.tagDocListPageTitle": {
"message": "{nDocsTagged} \"{tagName}\" 태그에 분류되었습니다",
"description": "The title of the page for a docs tag"
},
"theme.docs.versionBadge.label": {
"message": "버전: {versionLabel}"
},
"theme.docs.versions.unreleasedVersionLabel": {
"message": "{siteTitle} {versionLabel} 문서는 아직 정식 공개되지 않았습니다.",
"description": "The label used to tell the user that he's browsing an unreleased doc version"
},
"theme.docs.versions.unmaintainedVersionLabel": {
"message": "{siteTitle} {versionLabel} 문서는 더 이상 업데이트되지 않습니다.",
"description": "The label used to tell the user that he's browsing an unmaintained doc version"
},
"theme.docs.versions.latestVersionSuggestionLabel": {
"message": "최신 문서는 {latestVersionLink} ({versionLabel})을 확인하세요.",
"description": "The label used to tell the user to check the latest version"
},
"theme.docs.versions.latestVersionLinkLabel": {
"message": "최신 버전",
"description": "The label used for the latest version suggestion link label"
},
"theme.common.editThisPage": {
"message": "페이지 편집",
"description": "The link label to edit the current page"
},
"theme.common.headingLinkTitle": {
"message": "{heading}에 대한 직접 링크",
"description": "Title for link to heading"
},
"theme.lastUpdated.atDate": {
"message": " {date}에",
"description": "The words used to describe on which date a page has been last updated"
},
"theme.lastUpdated.byUser": {
"message": " {user}가",
"description": "The words used to describe by who the page has been last updated"
},
"theme.lastUpdated.lastUpdatedAtBy": {
"message": "최종 수정: {atDate}{byUser}",
"description": "The sentence used to display when a page has been last updated, and by who"
},
"theme.navbar.mobileVersionsDropdown.label": {
"message": "버전",
"description": "The label for the navbar versions dropdown on mobile view"
},
"theme.NotFound.title": {
"message": "페이지를 찾을 수 없습니다.",
"description": "The title of the 404 page"
},
"theme.tags.tagsListLabel": {
"message": "태그:",
"description": "The label alongside a tag list"
},
"theme.admonition.caution": {
"message": "주의",
"description": "The default label used for the Caution admonition (:::caution)"
},
"theme.admonition.danger": {
"message": "위험",
"description": "The default label used for the Danger admonition (:::danger)"
},
"theme.admonition.info": {
"message": "정보",
"description": "The default label used for the Info admonition (:::info)"
},
"theme.admonition.note": {
"message": "노트",
"description": "The default label used for the Note admonition (:::note)"
},
"theme.admonition.tip": {
"message": "",
"description": "The default label used for the Tip admonition (:::tip)"
},
"theme.admonition.warning": {
"message": "경고",
"description": "The default label used for the Warning admonition (:::warning)"
},
"theme.AnnouncementBar.closeButtonAriaLabel": {
"message": "닫기",
"description": "The ARIA label for close button of announcement bar"
},
"theme.blog.sidebar.navAriaLabel": {
"message": "최근 블로그 문서 둘러보기",
"description": "The ARIA label for recent posts in the blog sidebar"
},
"theme.CodeBlock.copied": {
"message": "복사했습니다",
"description": "The copied button label on code blocks"
},
"theme.CodeBlock.copyButtonAriaLabel": {
"message": "클립보드에 코드 복사",
"description": "The ARIA label for copy code blocks button"
},
"theme.CodeBlock.copy": {
"message": "복사",
"description": "The copy button label on code blocks"
},
"theme.CodeBlock.wordWrapToggle": {
"message": "줄 바꿈 전환",
"description": "The title attribute for toggle word wrapping button of code block lines"
},
"theme.DocSidebarItem.expandCategoryAriaLabel": {
"message": "사이드바 분류 '{label}' 펼치기",
"description": "The ARIA label to expand the sidebar category"
},
"theme.DocSidebarItem.collapseCategoryAriaLabel": {
"message": "사이드바 분류 '{label}' 접기",
"description": "The ARIA label to collapse the sidebar category"
},
"theme.NavBar.navAriaLabel": {
"message": "메인",
"description": "The ARIA label for the main navigation"
},
"theme.navbar.mobileLanguageDropdown.label": {
"message": "언어",
"description": "The label for the mobile language switcher dropdown"
},
"theme.NotFound.p1": {
"message": "원하는 페이지를 찾을 수 없습니다.",
"description": "The first paragraph of the 404 page"
},
"theme.NotFound.p2": {
"message": "사이트 관리자에게 링크가 깨진 것을 알려주세요.",
"description": "The 2nd paragraph of the 404 page"
},
"theme.TOCCollapsible.toggleButtonLabel": {
"message": "이 페이지에서",
"description": "The label used by the button on the collapsible TOC component"
},
"theme.blog.post.readMore": {
"message": "자세히 보기",
"description": "The label used in blog post item excerpts to link to full blog posts"
},
"theme.blog.post.readMoreLabel": {
"message": "{title} 에 대해 더 읽어보기",
"description": "The ARIA label for the link to full blog posts from excerpts"
},
"theme.blog.post.readingTime.plurals": {
"message": "약 {readingTime}분",
"description": "Pluralized label for \"{readingTime} min read\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
},
"theme.docs.breadcrumbs.home": {
"message": "",
"description": "The ARIA label for the home page in the breadcrumbs"
},
"theme.docs.sidebar.collapseButtonTitle": {
"message": "사이드바 숨기기",
"description": "The title attribute for collapse button of doc sidebar"
},
"theme.docs.sidebar.collapseButtonAriaLabel": {
"message": "사이드바 숨기기",
"description": "The title attribute for collapse button of doc sidebar"
},
"theme.docs.sidebar.navAriaLabel": {
"message": "문서 사이드바",
"description": "The ARIA label for the sidebar navigation"
},
"theme.docs.sidebar.closeSidebarButtonAriaLabel": {
"message": "사이드바 닫기",
"description": "The ARIA label for close button of mobile sidebar"
},
"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": {
"message": "← 메인 메뉴로 돌아가기",
"description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"
},
"theme.docs.sidebar.toggleSidebarButtonAriaLabel": {
"message": "사이드바 펼치거나 접기",
"description": "The ARIA label for hamburger menu button of mobile navigation"
},
"theme.docs.sidebar.expandButtonTitle": {
"message": "사이드바 열기",
"description": "The ARIA label and title attribute for expand button of doc sidebar"
},
"theme.docs.sidebar.expandButtonAriaLabel": {
"message": "사이드바 열기",
"description": "The ARIA label and title attribute for expand button of doc sidebar"
},
"theme.SearchPage.existingResultsTitle": {
"message": "Search results for \"{query}\"",
"description": "The search page title for non-empty query"
},
"theme.SearchPage.emptyResultsTitle": {
"message": "Search the documentation",
"description": "The search page title for empty query"
},
"theme.SearchPage.searchContext.everywhere": {
"message": "Everywhere"
},
"theme.SearchPage.documentsFound.plurals": {
"message": "1 document found|{count} documents found",
"description": "Pluralized label for \"{count} documents found\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
},
"theme.SearchPage.noResultsText": {
"message": "No documents were found",
"description": "The paragraph for empty search result"
},
"theme.SearchBar.noResultsText": {
"message": "No results"
},
"theme.SearchBar.seeAllOutsideContext": {
"message": "See all results outside \"{context}\""
},
"theme.SearchBar.searchInContext": {
"message": "See all results within \"{context}\""
},
"theme.SearchBar.seeAll": {
"message": "See all results"
},
"theme.SearchBar.label": {
"message": "Search",
"description": "The ARIA label and placeholder for search button"
},
"theme.ErrorPageContent.tryAgain": {
"message": "다시 시도해 보세요",
"description": "The label of the button to try again rendering when the React error boundary captures an error"
},
"theme.common.skipToMainContent": {
"message": "본문으로 건너뛰기",
"description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation"
},
"theme.tags.tagsPageTitle": {
"message": "태그",
"description": "The title of the tag list page"
},
"theme.unlistedContent.title": {
"message": "색인되지 않은 문서",
"description": "The unlisted content banner title"
},
"theme.unlistedContent.message": {
"message": "이 문서는 색인되지 않습니다. 검색 엔진이 이 문서를 색인하지 않으며, 주소를 알고 있는 사용자만 접근할 수 있습니다.",
"description": "The unlisted content banner message"
}
}
14 changes: 14 additions & 0 deletions i18n/ko/docusaurus-plugin-content-blog/options.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"title": {
"message": "Blog",
"description": "The title for the blog used in SEO"
},
"description": {
"message": "Blog",
"description": "The description for the blog used in SEO"
},
"sidebar.title": {
"message": "Recent posts",
"description": "The label for the left sidebar"
}
}
Loading

0 comments on commit ae87329

Please sign in to comment.