1
0
Fork 0
mirror of synced 2024-06-02 19:04:49 +12:00

feat(contributing-guide): update guide

This commit is contained in:
Christy Jacob 2021-07-29 10:25:35 +05:30
parent 1bc8640194
commit b62f47b55a

View file

@ -67,7 +67,14 @@ Next, choose a reference language. If English is your reference language, copy t
... ...
}
```
Add your language code to [codes.php](https://github.com/appwrite/appwrite/blob/locale/app/config/locale/codes.php#L14). Finally, load your translation file in `init.php` by following a pattern similar to the [existing languages](https://github.com/appwrite/appwrite/blob/locale/app/init.php#L269).
Add your language code to [codes.php](https://github.com/appwrite/appwrite/blob/locale/app/config/locale/codes.php#L14) in the following format
```php
...
'es', // Spanish
...
```
Finally, load your translation file in `init.php` by following a pattern similar to the [existing languages](https://github.com/appwrite/appwrite/blob/locale/app/init.php#L269).
### Contributing with PO Editor