Skip to content

Commit d095815

Browse files
Merge pull request #274 from enrique-lozano/feat/add-hu-lang
Add Hungarian language
2 parents 4f47ee1 + 1af687f commit d095815

File tree

4 files changed

+2659
-4
lines changed

4 files changed

+2659
-4
lines changed

lib/app/settings/widgets/supported_locales.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class SupportedLocale {
1010
const appSupportedLocales = [
1111
SupportedLocale(locale: AppLocale.es, label: 'Español'),
1212
SupportedLocale(locale: AppLocale.en, label: 'English'),
13+
SupportedLocale(locale: AppLocale.hu, label: 'Magyar'),
1314
SupportedLocale(locale: AppLocale.uk, label: 'українська'),
1415
SupportedLocale(locale: AppLocale.zhTw, label: '繁體中文'),
1516
];

lib/i18n/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,20 @@ If you are not familiar with GitHub or JSON, don’t worry! Follow these steps:
7171

7272
If you are familiar with GitHub and JSON files, please follow the [developer contribution guide](https://github.com/enrique-lozano/Monekin/blob/main/docs/CODE_CONTRIBUTING.md) to fork the project, add/modify your translations, and create a Pull Request (PR).
7373

74-
If you want to view your new generated/edited translations you should run:
74+
If you want to view your new generated/edited translations in your local project you should run:
7575

7676
```
7777
dart run slang
7878
```
7979

80+
You can also use the following command to check for missing/unsused translations:
81+
82+
```
83+
dart run slang analyze
84+
```
85+
86+
This command will generate two files with the requested info. **Please do not include this generated files in git**.
87+
8088
---
8189

8290
## Best Practices for Translating

0 commit comments

Comments
 (0)