Skip to content

Commit

Permalink
esLint helping
Browse files Browse the repository at this point in the history
  • Loading branch information
HeikoStudt committed Sep 22, 2020
1 parent de9f311 commit 7be0a79
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -462,22 +462,23 @@ Please refer to [this blog](https://www.sitepen.com/blog/what-typescript-can-off

The following i18n file format supports dialects as well:

nls/main.ts:
```javascript
nls/main.ts:

```typescript
export = {
'de-de' : true,
root : { users: "Users" }
}
```

nls/de-de/main.ts:
```javascript
```typescript
export = { users: "Benutzer" }
```

Note: We need to import our i18n-language files explicitly inside our application, so that it is bundled with webpack.
```javascript
import 'nls/de-de/mmain';
import 'nls/de-de/main';
```
# Dependency requirements

Expand Down

0 comments on commit 7be0a79

Please sign in to comment.