Add a New Locale¶
-
Create a YAML file in
src/rendercv/schema/models/locale/other_locales/ -
Add the schema reference and provide translations
# yaml-language-server: $schema=../../../../../../schema.json locale: language: mylanguage last_updated: "Your translation" month: "Your translation" months: "Your translation" year: "Your translation" years: "Your translation" present: "Your translation" month_abbreviations: - Jan - Feb - Mar - Apr - May - Jun - Jul - Aug - Sep - Oct - Nov - Dec month_names: - January - February - March - April - May - June - July - August - September - October - November - December -
Add ISO 639-1 language code to
english_locale.pyEdit
src/rendercv/schema/models/locale/english_locale.pyline 95-108: -
Done. Use it: