Skip to content

locales: Add Nepali (ne) translation#4222

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

locales: Add Nepali (ne) translation#4222
Nub-programmer wants to merge 21 commits intoarchlinux:masterfrom
Nub-programmer:add-nepali-translation

Conversation

@Nub-programmer
Copy link
Contributor

PR Description:

  • This fix issue:
    Adds new functionality (Nepali locale support).

PR Description:
This PR introduces the Nepali (ne) language to archinstall.

Key Changes:

Added the directory structure ne/LC_MESSAGES/ for the new locale.

Included a translated base.po file covering essential installation strings like Disk selection, Network configuration, and User setup.

Generated the compiled base.mo file using the provided locales_generator.sh script to ensure compatibility.

Updated languages.json to include the Nepali abbreviation and its native name (नेपाली) for proper menu display.

Notes on Fonts: Since Nepali uses a non-Latin character set, users may need to manually set a console font (e.g., setfont LatGrkCyr-8x16) for characters to display correctly on the ISO.

Tests and Checks
[x] I have tested the code!

Ran ./locales_generator.sh ne to validate the base.po structure and ensure no duplicate message definitions exist.

Verified that the base.mo binary was successfully created.

@Nub-programmer
Copy link
Contributor Author

bruh

@Nub-programmer
Copy link
Contributor Author

a freaking comma, fixed

@Nub-programmer
Copy link
Contributor Author

I've updated languages.json and fixed the syntax. It seems the translation-check workflow is failing due to a configuration error: No event triggers defined in on

@svartkanin
Copy link
Collaborator

There aren't actually any translations provided?

@Nub-programmer
Copy link
Contributor Author

Hi @svartkanin, I've updated the PR.
Changes in this push:

Content: Filled in core Nepali translations in base.po (System logs, Hostname setup, User/Sudoer creation, and Abort sequences).
Build: Regenerated the base.mo binary to reflect these changes.
Fixes: Sanitized languages.json to ensure valid JSON syntax (fixed the delimiter issue).

Please check the 'Files changed' tab. I'm planning to keep expanding the translations for partitioning and desktop environments next. Thanks for your patience!

@Nub-programmer
Copy link
Contributor Author

also, Regarding the failing checks: It appears the .github/workflows/translation-check.yaml is failing with a configuration error (No event triggers defined in on), which seems to be an issue with the repo's workflow file rather than my submission.

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