Skip to content

Commit f28152a

Browse files
authored
Merge pull request #165 from manner/patch-1
Fix typos in README
2 parents 96323b2 + 3a82f18 commit f28152a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ pages: [
377377
```
378378

379379
You have to specify a `:lang` url param, so the plugin knows what part of the path should be treated as language key.
380-
In this example the plugin will automatically generate language pages for all languages except `es`. Assuming that you have `['en', 'es', 'de']` languages te blog post with the path `/blog/hello-world` you will have the following pages generated:
380+
In this example the plugin will automatically generate language pages for all languages except `es`. Assuming that you have `['en', 'es', 'de']` languages the blog post with the path `/blog/hello-world` you will have the following pages generated:
381381

382382
- `/blog/hello-world` - the English version (if you have `en` as a `defaultLanguage`)
383383
- `/es/blog/hello-world` - the Spanish version that should exist before you run the plugin (created manually or at build time with a plugin or api call)
@@ -403,7 +403,7 @@ pages: [
403403

404404
## How to exclude a page that should not be translated
405405

406-
You can limit the languages used to generate versions of a specific page, for exmaple to limit `/preview` page to only English version:
406+
You can limit the languages used to generate versions of a specific page, for example to limit `/preview` page to only English version:
407407

408408
```js
409409
pages: [
@@ -637,7 +637,7 @@ export const query = graphql`
637637

638638
After your messages had been extracted you can use [AWS Translate](https://aws.amazon.com/translate/) to automatically translate messages to different languages.
639639

640-
This functionality is out of the scope of this plugin, but you can get the idea from [this script](/example/translate.js)
640+
This functionality is out of the scope of this plugin, but you can get the idea from [this script](/example/translate.js).
641641

642642
## How to fallback to a different language than the defaultLanguage
643643

0 commit comments

Comments
 (0)