Skip to content

Commit

Permalink
Readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
subotkevic committed Oct 17, 2018
1 parent 2486cdd commit 0aa4542
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ resources/

Make sure that your translation files is valid JSON, otherwise our package will not work:

```
```json
{
"I love programming.": "Me encanta programar."
}
```

If you don't have any translations for now, just **make sure your file is not empty**, but actually an empty JSON object:
```
```js
{}
```

Expand Down Expand Up @@ -76,7 +76,7 @@ Then in the `config/translation-helper.php` you can change default values of `sc
Our package scans only `.php` files out of the box.

You can add more file extensions to `file_extensions` array in the `config/translation-helper.php` configuration file to scan, let's say, `.vue` or `.js` files:
```
```php
/**
* File extensions to scan from.
*/
Expand All @@ -92,7 +92,7 @@ You can add more file extensions to `file_extensions` array in the `config/trans
By default our package looks for `lang` and `__` translation helper methods or mixins.

But you can extend, modify, or remove them in the config file by modifying `translation_methods` array:
```
```php
/**
* Translation helper methods to scan
* for in your application's code.
Expand Down

0 comments on commit 0aa4542

Please sign in to comment.