Skip to content

Locales: Add Nepali (ne) translation (Initial 300+ strings)#4288

Open
Nub-programmer wants to merge 28 commits intoarchlinux:masterfrom
Nub-programmer:add-nepali-translation
Open

Locales: Add Nepali (ne) translation (Initial 300+ strings)#4288
Nub-programmer wants to merge 28 commits intoarchlinux:masterfrom
Nub-programmer:add-nepali-translation

Conversation

@Nub-programmer
Copy link
Contributor

@Nub-programmer Nub-programmer commented Mar 6, 2026

PR Description:

This PR introduces the initial Nepali (ne) translation for archinstall. I have completed the first 500+ lines of the translation file, covering the most critical parts of the installation process.

Key areas translated so far:

  • Core System: Log creation, system abort sequences, and hostname configuration.
  • User Management: Superuser (sudo) setup, additional user creation, and password verification.
  • Disk & Partitioning: Disk selection, filesystem types (ext4, btrfs, etc.), mount-point assignments, and encryption prompts.
  • System Config: Bootloader choice (GRUB vs systemd-boot), mirror regions, and locale/encoding selection.

Files updated:

  1. archinstall/locales/languages.json: Added Nepali entry with correct delimiters.
  2. archinstall/locales/ne/LC_MESSAGES/base.po: Manually translated 300+ strings.
  3. archinstall/locales/ne/LC_MESSAGES/base.mo: Generated the machine-object binary using ./locales_generator.sh.

Tests and Checks

  • I have tested the code
  • Verified base.mo generation locally.
  • Sanitized languages.json to ensure it passes JSON validation.

Note on failing checks: I observed that the .github/workflows/translation-check.yaml is failing with No event triggers defined in on. This appears to be a pre-existing configuration issue within the main repository's workflow and is not related to the Nepali translation files themselves.

Roadmap:

I am committed to maintaining this locale long-term.

  • Plan for today: Adding another 600-700 strings later tonight.
  • Goal: Complete the entire translation for the repo by the end of this week.

Please let me know if any specific strings require further refinement!

@Nub-programmer Nub-programmer requested a review from Torxed as a code owner March 6, 2026 10:55
Copilot AI review requested due to automatic review settings March 6, 2026 10:55
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an initial Nepali (ne) localization for archinstall, translating a first batch of core installer UI strings.

Changes:

  • Introduces/updates Nepali .po translations for key installer prompts and labels.
  • Updates locale metadata to include Nepali (per PR description).
  • Adds generated binary locale output (per PR description).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 3 comments.

File Description
archinstall/locales/languages.json Adds Nepali locale entry so it can be selected in the UI (per PR description).
archinstall/locales/ne/LC_MESSAGES/base.po Adds Nepali translations for a large set of installer strings.
archinstall/locales/ne/LC_MESSAGES/base.mo Updates generated compiled translation binary (per PR description).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants