diff --git a/HowToAddNewLanguage.md b/HowToAddNewLanguage.md index 16d457f7..f23e56cd 100644 --- a/HowToAddNewLanguage.md +++ b/HowToAddNewLanguage.md @@ -11,14 +11,12 @@ Fork Stirling-PDF and create a new branch out of `main`. Then add a reference to the language in the navbar by adding a new language entry to the dropdown: - Edit the file: [languages.html](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/src/main/resources/templates/fragments/languages.html) -- Add a flag SVG file to: [flags directory](https://github.com/Stirling-Tools/Stirling-PDF/tree/main/src/main/resources/static/images/flags) -Any SVG flags are fine; most of the current ones were sourced from [here](https://flagicons.lipis.dev/). If your language isn't represented by a flag, choose a similar one, such as Saudi Arabia's flag for Arabic. For example, to add Polish, you would add: ```html - icon Polski + Polski ``` The `data-bs-language-code` is the code used to reference the file in the next step.