-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for translatable/customizable section titles in the cv page #2543
base: master
Are you sure you want to change the base?
Conversation
For a version of al-folio with support for localization, I recommend my fork of it, which was created specifically for this. |
@george-gca, thank you for sharing your impressive work. I'm considering using it for my website :). Nevertheless, I believe it's important to accommodate users who might want to customize the title sections on the CV page. For instance, some might prefer to change 'Basic' to 'Personal Informations' or translate it into another language. |
@@ -641,3 +641,18 @@ jsonresume: | |||
- languages | |||
- interests | |||
- references | |||
|
|||
# Customize the section titles in the cv page, leave it blank for default | |||
sectiontitles: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe it's best to use sections_titles
instead. jsonresume
is only in a single word because it is the name of the library.
@@ -641,3 +641,18 @@ jsonresume: | |||
- languages | |||
- interests | |||
- references | |||
|
|||
# Customize the section titles in the cv page, leave it blank for default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add to this comment the info about it only being used when the cv is loaded from jsonr. Even though it is in that section in _config.yml, it's better to make it clear.
@alshedivat @pourmand1376 @arunoruto any thoughts on this PR? |
My five cents: our |
I agree with @CheariX. This would be better as an option in the page itself. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This PR adds support for translating or customizing section title in the resume from the
_config.yaml
file. This feature enhances the internationalization of the al-folio theme, allowing users to customize the section titles without modifying the liquid template directly.Modification
sectiontitle
parameter in the_config.yml
to store translations for section titles.cv.liquid
to use titles fromsectiontitle
if available, defaulting to the original section name if a translation is not provided.CUSTOMIZE.md
to explain how to used this new feature.Example (in French)