mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-05 19:06:37 +02:00
1 line
8.6 KiB
JavaScript
1 line
8.6 KiB
JavaScript
"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[300],{4235:(n,e,s)=>{s.r(e),s.d(e,{assets:()=>r,contentTitle:()=>i,default:()=>g,frontMatter:()=>o,metadata:()=>a,toc:()=>c});const a=JSON.parse('{"id":"post-installation/snigdha-os-language-pack","title":"Language","description":"\ud83c\udf10 Installing Language Packs and Google Fonts on Arch/Snigdha OS","source":"@site/docs/post-installation/snigdha-os-language-pack.md","sourceDirName":"post-installation","slug":"/post-installation/snigdha-os-language-pack","permalink":"/documentation/uk/post-installation/snigdha-os-language-pack","draft":false,"unlisted":false,"editUrl":"https://github.com/Snigdha-OS/documentation/tree/master/docs/post-installation/snigdha-os-language-pack.md","tags":[],"version":"current","lastUpdatedAt":1735540368000,"sidebarPosition":1,"frontMatter":{"sidebar_position":1},"sidebar":"tutorialSidebar","previous":{"title":"Post Installation","permalink":"/documentation/uk/category/post-installation"},"next":{"title":"Update Snigdha OS","permalink":"/documentation/uk/post-installation/update-snigdha-os"}}');var l=s(6070),t=s(6599);const o={sidebar_position:1},i="Language",r={},c=[{value:"\ud83c\udf10 <strong>Installing Language Packs and Google Fonts on Arch/Snigdha OS</strong>",id:"-installing-language-packs-and-google-fonts-on-archsnigdha-os",level:3},{value:"\ud83c\udf0f <strong>Step 1: Install Language Packs</strong>",id:"-step-1-install-language-packs",level:3},{value:"<strong>Step 1.1: Install System Language Pack</strong>",id:"step-11-install-system-language-pack",level:4},{value:"<strong>Step 1.2: Enable Your Preferred Language</strong>",id:"step-12-enable-your-preferred-language",level:4},{value:"<strong>Step 1.3: Install Additional Fonts for Localization</strong>",id:"step-13-install-additional-fonts-for-localization",level:4},{value:"\u270d\ufe0f <strong>Step 2: Install Google Fonts</strong>",id:"\ufe0f-step-2-install-google-fonts",level:3},{value:"<strong>Option 1: Install via Pacman</strong>",id:"option-1-install-via-pacman",level:4},{value:"<strong>Option 2: Install via AUR</strong>",id:"option-2-install-via-aur",level:4},{value:"<strong>Option 3: Manual Installation</strong>",id:"option-3-manual-installation",level:4},{value:"\ud83e\uddf9 <strong>Step 3: Verify Installation</strong>",id:"-step-3-verify-installation",level:3},{value:"\ud83c\udf89 <strong>Conclusion</strong>",id:"-conclusion",level:3}];function d(n){const e={a:"a",code:"code",h1:"h1",h3:"h3",h4:"h4",header:"header",hr:"hr",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,t.R)(),...n.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(e.header,{children:(0,l.jsx)(e.h1,{id:"language",children:"Language"})}),"\n",(0,l.jsxs)(e.h3,{id:"-installing-language-packs-and-google-fonts-on-archsnigdha-os",children:["\ud83c\udf10 ",(0,l.jsx)(e.strong,{children:"Installing Language Packs and Google Fonts on Arch/Snigdha OS"})]}),"\n",(0,l.jsx)(e.p,{children:"Here\u2019s how you can install language packs for better localization support and Google Fonts for enhanced typography."}),"\n",(0,l.jsx)(e.hr,{}),"\n",(0,l.jsxs)(e.h3,{id:"-step-1-install-language-packs",children:["\ud83c\udf0f ",(0,l.jsx)(e.strong,{children:"Step 1: Install Language Packs"})]}),"\n",(0,l.jsx)(e.h4,{id:"step-11-install-system-language-pack",children:(0,l.jsx)(e.strong,{children:"Step 1.1: Install System Language Pack"})}),"\n",(0,l.jsx)(e.p,{children:"Language packs are provided by the desktop environment or specific applications. For example:"}),"\n",(0,l.jsxs)(e.ul,{children:["\n",(0,l.jsxs)(e.li,{children:["\n",(0,l.jsxs)(e.p,{children:[(0,l.jsx)(e.strong,{children:"KDE Plasma"}),":"]}),"\n",(0,l.jsx)(e.pre,{children:(0,l.jsx)(e.code,{className:"language-bash",children:"sudo pacman -S plasma-desktop kde-l10n\n"})}),"\n"]}),"\n",(0,l.jsxs)(e.li,{children:["\n",(0,l.jsxs)(e.p,{children:[(0,l.jsx)(e.strong,{children:"GNOME"}),":"]}),"\n",(0,l.jsx)(e.pre,{children:(0,l.jsx)(e.code,{className:"language-bash",children:"sudo pacman -S gnome-shell gnome-getting-started-docs\n"})}),"\n"]}),"\n",(0,l.jsxs)(e.li,{children:["\n",(0,l.jsxs)(e.p,{children:[(0,l.jsx)(e.strong,{children:"Snigdha OS Asian Fonts"}),":"]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(e.pre,{children:(0,l.jsx)(e.code,{className:"language-bash",children:"sudo pacman -S snigdhaos-asian-fonts\n"})}),"\n",(0,l.jsx)(e.h4,{id:"step-12-enable-your-preferred-language",children:(0,l.jsx)(e.strong,{children:"Step 1.2: Enable Your Preferred Language"})}),"\n",(0,l.jsxs)(e.ol,{children:["\n",(0,l.jsxs)(e.li,{children:["Open ",(0,l.jsx)(e.strong,{children:"System Settings"})," \u2192 ",(0,l.jsx)(e.strong,{children:"Regional Settings"})," or ",(0,l.jsx)(e.strong,{children:"Language"}),"."]}),"\n",(0,l.jsx)(e.li,{children:"Select and add your desired language."}),"\n",(0,l.jsx)(e.li,{children:"Apply the changes and reboot if necessary."}),"\n"]}),"\n",(0,l.jsx)(e.h4,{id:"step-13-install-additional-fonts-for-localization",children:(0,l.jsx)(e.strong,{children:"Step 1.3: Install Additional Fonts for Localization"})}),"\n",(0,l.jsx)(e.p,{children:"To display text correctly in specific languages (e.g., CJK, Arabic):"}),"\n",(0,l.jsx)(e.pre,{children:(0,l.jsx)(e.code,{className:"language-bash",children:"sudo pacman -S noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra\n"})}),"\n",(0,l.jsx)(e.hr,{}),"\n",(0,l.jsxs)(e.h3,{id:"\ufe0f-step-2-install-google-fonts",children:["\u270d\ufe0f ",(0,l.jsx)(e.strong,{children:"Step 2: Install Google Fonts"})]}),"\n",(0,l.jsx)(e.p,{children:"Google Fonts can be installed to enhance the typography for web design, office applications, or general use."}),"\n",(0,l.jsx)(e.h4,{id:"option-1-install-via-pacman",children:(0,l.jsx)(e.strong,{children:"Option 1: Install via Pacman"})}),"\n",(0,l.jsx)(e.p,{children:"Arch Linux provides a package for Google Fonts:"}),"\n",(0,l.jsx)(e.pre,{children:(0,l.jsx)(e.code,{className:"language-bash",children:"sudo pacman -S ttf-google-fonts\n"})}),"\n",(0,l.jsx)(e.h4,{id:"option-2-install-via-aur",children:(0,l.jsx)(e.strong,{children:"Option 2: Install via AUR"})}),"\n",(0,l.jsxs)(e.p,{children:["For the latest collection of Google Fonts, use an AUR helper like ",(0,l.jsx)(e.code,{children:"yay"}),":"]}),"\n",(0,l.jsx)(e.pre,{children:(0,l.jsx)(e.code,{className:"language-bash",children:"yay -S ttf-google-fonts-git\n"})}),"\n",(0,l.jsx)(e.h4,{id:"option-3-manual-installation",children:(0,l.jsx)(e.strong,{children:"Option 3: Manual Installation"})}),"\n",(0,l.jsxs)(e.ol,{children:["\n",(0,l.jsxs)(e.li,{children:["\n",(0,l.jsx)(e.p,{children:"Download the fonts:"}),"\n",(0,l.jsxs)(e.ul,{children:["\n",(0,l.jsxs)(e.li,{children:["Visit the ",(0,l.jsx)(e.a,{href:"https://fonts.google.com/",children:"Google Fonts"})," website."]}),"\n",(0,l.jsx)(e.li,{children:"Select and download your desired font(s)."}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(e.li,{children:["\n",(0,l.jsx)(e.p,{children:"Extract and install:"}),"\n",(0,l.jsx)(e.pre,{children:(0,l.jsx)(e.code,{className:"language-bash",children:"mkdir -p ~/.local/share/fonts\nunzip /path/to/downloaded-fonts.zip -d ~/.local/share/fonts\n"})}),"\n"]}),"\n",(0,l.jsxs)(e.li,{children:["\n",(0,l.jsx)(e.p,{children:"Refresh the font cache:"}),"\n",(0,l.jsx)(e.pre,{children:(0,l.jsx)(e.code,{className:"language-bash",children:"fc-cache -fv\n"})}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(e.hr,{}),"\n",(0,l.jsxs)(e.h3,{id:"-step-3-verify-installation",children:["\ud83e\uddf9 ",(0,l.jsx)(e.strong,{children:"Step 3: Verify Installation"})]}),"\n",(0,l.jsxs)(e.ul,{children:["\n",(0,l.jsxs)(e.li,{children:[(0,l.jsx)(e.strong,{children:"Check Available Fonts"}),":","\n",(0,l.jsx)(e.pre,{children:(0,l.jsx)(e.code,{className:"language-bash",children:'fc-list | grep "font-name"\n'})}),"\n"]}),"\n",(0,l.jsx)(e.li,{children:"Test the fonts in applications like LibreOffice, GIMP, or your web browser."}),"\n"]}),"\n",(0,l.jsx)(e.hr,{}),"\n",(0,l.jsxs)(e.h3,{id:"-conclusion",children:["\ud83c\udf89 ",(0,l.jsx)(e.strong,{children:"Conclusion"})]}),"\n",(0,l.jsx)(e.p,{children:"With language packs and Google Fonts installed, your system will be well-suited for multilingual usage and professional-grade typography. Enjoy customizing your experience! \ud83d\ude80"})]})}function g(n={}){const{wrapper:e}={...(0,t.R)(),...n.components};return e?(0,l.jsx)(e,{...n,children:(0,l.jsx)(d,{...n})}):d(n)}},6599:(n,e,s)=>{s.d(e,{R:()=>o,x:()=>i});var a=s(758);const l={},t=a.createContext(l);function o(n){const e=a.useContext(t);return a.useMemo((function(){return"function"==typeof n?n(e):{...e,...n}}),[e,n])}function i(n){let e;return e=n.disableParentContext?"function"==typeof n.components?n.components(l):n.components||l:o(n.components),a.createElement(t.Provider,{value:e},n.children)}}}]); |