-
-
Notifications
You must be signed in to change notification settings - Fork 785
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 Translations to Streak Stats #236
🗪 Add Translations to Streak Stats #236
Comments
Added Dutch translations #269 |
Should date abbreviations such as |
The |
The demo doesn't seem to show that working though |
Added Kannada Translation #324 |
## Description Fixes DenverCoder1#236 ### Type of change - [x] New feature (added a non-breaking change which adds functionality) ## How Has This Been Tested? - [x] Tested locally with a valid username - [x] Tested locally with an invalid username - [x] Ran tests with composer test - [x] Added or updated test cases to test new features ## Checklist: - [x] I have checked to make sure no other pull requests are open for this issue - [x] The code is properly formatted and is consistent with the existing code style - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings
* Hungarian translation added. #236 * Excluding added for Hungarian translation.
If you are a native speaker of a language that is not yet supported by Streak Stats, you can help by opening a PR!
See the Locales section of the Readme for a list of currently supported locales and percentages translated.
The locales are maintained in the
/src/translations.php
file.The locale code added to file should be a 2-letter abbreviation from ISO 639-1 or a 4-letter code with a language and country code (eg.
ja
orpt_BR
). Anything appearing in this list should be fine.There is no need to update the README! It will get updated automatically by a bot.
Adding a locale
Option 1: Running locally
You may refer to
CONTRIBUTING.md
for details on installing dependencies and running the project locally.translations.php
to have your locale by adding each phrase mapped to a translation under your new locale. Try to keep the locale list in alphabetical order.https://localhost:8000/demo/
) to make sure it displays correctlyOption 2: Using the GitHub website
translations.php
and click the pencil above the README to fork the repo and start editingThere is no need to update the README! It will get updated automatically by a bot.
Make sure to keep the spacing and formatting consistent.
Your locale will become available when your Pull Request is approved.
If you have any questions, feel free to ask!
The text was updated successfully, but these errors were encountered: