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