feat(locale): add indonesian locale#567
Merged
sinaatalay merged 1 commit intorendercv:mainfrom Dec 23, 2025
Merged
Conversation
Member
|
Thank you! |
Member
|
I fixed |
Contributor
Author
Just wanna clarify a little bit
If that's what you meant, then go ahead🚀 |
Member
|
I meant the language name. Should it be Indonesian, or Indonesia? |
Contributor
Author
Indonesia, or it's often called "Bahasa Indonesia" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Indonesian Locale Support
Summary
This PR adds Indonesian (Bahasa Indonesia) locale support to RenderCV, allowing users to create CVs with Indonesian translations for date formatting, month names, and other locale-specific text.
Changes Made
Added
src/rendercv/schema/models/locale/other_locales/indonesia.yamllast_updated,month,months,year,years,presentModified
src/rendercv/schema/models/locale/english_locale.py"indonesia": "id"to thelanguage_iso_639_1methodschema.jsonindonesiaas a valid locale option (auto-generated viajust update-schema)Testing
✅ All tests pass:
test_available_locales()- Verifies locale is discovered and included in available localestest_creates_valid_model_for_all_themes_and_locales[indonesia-*]- Validates locale works with all 5 themes:✅ Manual verification:
Usage
Users can now use Indonesian locale in their CV YAML files:
Or when creating a new CV:
rendercv new "Nama Anda" --locale indonesiaExample Translations
last_updated: "Terakhir diperbarui"month/months: "bulan"year/years: "tahun"present: "sekarang"Related
This follows the same pattern as other locale additions (see v2.4 changelog entry for 11 languages added). The implementation follows the developer guide: How to Add a Locale.
Checklist
english_locale.pyjust update-schemarun)