mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-06 19:15:12 +02:00
88 lines
2.3 KiB
Markdown
88 lines
2.3 KiB
Markdown
---
|
||
sidebar_position: 1
|
||
---
|
||
# Language
|
||
|
||
### 🌐 **Installing Language Packs and Google Fonts on Arch/Snigdha OS**
|
||
|
||
Here’s how you can install language packs for better localization support and Google Fonts for enhanced typography.
|
||
|
||
---
|
||
|
||
### 🌏 **Step 1: Install Language Packs**
|
||
|
||
#### **Step 1.1: Install System Language Pack**
|
||
Language packs are provided by the desktop environment or specific applications. For example:
|
||
|
||
- **KDE Plasma**:
|
||
```bash
|
||
sudo pacman -S plasma-desktop kde-l10n
|
||
```
|
||
- **GNOME**:
|
||
```bash
|
||
sudo pacman -S gnome-shell gnome-getting-started-docs
|
||
```
|
||
|
||
- **Snigdha OS Asian Fonts**:
|
||
```bash
|
||
sudo pacman -S snigdhaos-asian-fonts
|
||
```
|
||
|
||
#### **Step 1.2: Enable Your Preferred Language**
|
||
1. Open **System Settings** → **Regional Settings** or **Language**.
|
||
2. Select and add your desired language.
|
||
3. Apply the changes and reboot if necessary.
|
||
|
||
#### **Step 1.3: Install Additional Fonts for Localization**
|
||
To display text correctly in specific languages (e.g., CJK, Arabic):
|
||
```bash
|
||
sudo pacman -S noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra
|
||
```
|
||
|
||
---
|
||
|
||
### ✍️ **Step 2: Install Google Fonts**
|
||
|
||
Google Fonts can be installed to enhance the typography for web design, office applications, or general use.
|
||
|
||
#### **Option 1: Install via Pacman**
|
||
Arch Linux provides a package for Google Fonts:
|
||
```bash
|
||
sudo pacman -S ttf-google-fonts
|
||
```
|
||
|
||
#### **Option 2: Install via AUR**
|
||
For the latest collection of Google Fonts, use an AUR helper like `yay`:
|
||
```bash
|
||
yay -S ttf-google-fonts-git
|
||
```
|
||
|
||
#### **Option 3: Manual Installation**
|
||
1. Download the fonts:
|
||
- Visit the [Google Fonts](https://fonts.google.com/) website.
|
||
- Select and download your desired font(s).
|
||
|
||
2. Extract and install:
|
||
```bash
|
||
mkdir -p ~/.local/share/fonts
|
||
unzip /path/to/downloaded-fonts.zip -d ~/.local/share/fonts
|
||
```
|
||
|
||
3. Refresh the font cache:
|
||
```bash
|
||
fc-cache -fv
|
||
```
|
||
|
||
---
|
||
|
||
### 🧹 **Step 3: Verify Installation**
|
||
- **Check Available Fonts**:
|
||
```bash
|
||
fc-list | grep "font-name"
|
||
```
|
||
- Test the fonts in applications like LibreOffice, GIMP, or your web browser.
|
||
|
||
---
|
||
|
||
### 🎉 **Conclusion**
|
||
With language packs and Google Fonts installed, your system will be well-suited for multilingual usage and professional-grade typography. Enjoy customizing your experience! 🚀 |