diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e89aa369cf..6015b7ad3f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -350,7 +350,7 @@ These are the current metrics we collect usage stats for: > Note: The curly brackets in the metric name represents a template and is replaced with a value when the metric is processed. Metrics are collected within 3 scopes Daily, monthly, an infinity. Adding new usage metric in order to aggregate usage stats is very simple, but very much dependent on where do you want to collect -statistics ,via API or via background worker. For both cases you will need to add a `const` variable in `app/init.php` under the usage metrics list using the naming convention `METRIC_` as shown below. +statistics ,via API or via background worker. For both cases you will need to add a `const` variable in `app/init/app.php` under the usage metrics list using the naming convention `METRIC_` as shown below. ```php // Usage metrics diff --git a/docs/tutorials/add-translations.md b/docs/tutorials/add-translations.md index 68023fcf8b..dbfd43f261 100644 --- a/docs/tutorials/add-translations.md +++ b/docs/tutorials/add-translations.md @@ -135,9 +135,9 @@ Add your language code to [codes.php](https://github.com/appwrite/appwrite/blob/ ... ``` -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#L270). +Finally, load your translation file in `app.php` by following a pattern similar to the [existing languages](https://github.com/appwrite/appwrite/blob/locale/app/init/app.php#L270). -> Please make sure to keep both `codes.php` and `init.php` in the alphabetical order A-Z. +> Please make sure to keep both `codes.php` and `app.php` in the alphabetical order A-Z. ## 4. Test the translations