Skip to content

Commit 5e6610d

Browse files
fozy81ijlee2
andauthored
add --lang option to tutorial fixes issue #173 (#174)
* add --lang option to tutorial fixes issue #173 * Update src/markdown/tutorial/part-1/01-orientation.md Co-authored-by: Isaac Lee <16869656+ijlee2@users.noreply.github.com> * fix typo issue #173 Co-authored-by: Isaac Lee <16869656+ijlee2@users.noreply.github.com>
1 parent 8f26cca commit 5e6610d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/markdown/tutorial/part-1/01-orientation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ If a version number is shown, you're ready to go.
3030

3131
## Creating a New Ember App with Ember CLI
3232

33-
We can create a new project using Ember CLI's `new` command. It follows the pattern `ember new <project-name>`. In our case, the project name would be `super-rentals`:
33+
We can create a new project using Ember CLI's `new` command. It follows the pattern `ember new <project-name>`. In our case, the project name would be `super-rentals`. We will also include a `--lang en` option. This sets our app's primary language to English and improves the website's [accessibility](../../../accessibility/application-considerations/).
3434

3535
```run:ignore
3636
Hack: make an empty package.json to convince ember-cli we are really not in an Ember project. Otherwise, we will get the "You cannot use the new command inside an ember-cli project." error when running `ember new`.
@@ -47,11 +47,11 @@ Hack: make an empty package.json to convince ember-cli we are really not in an E
4747
4848
#[cfg(all(ci, unix))]
4949
#[display(ember new super-rentals)]
50-
ember new super-rentals --yarn \
50+
ember new super-rentals --lang en --yarn \
5151
| awk '{ gsub("Yarn", "npm"); gsub("yarn", "npm"); print }'
5252
5353
#[cfg(not(all(ci, unix)))]
54-
ember new super-rentals --yarn
54+
ember new super-rentals --lang en --yarn
5555
```
5656

5757
```run:command hidden=true

0 commit comments

Comments
 (0)