Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 1599 - add --lang option to guide #1626

Merged
merged 6 commits into from Jan 13, 2021
Merged

Issue 1599 - add --lang option to guide #1626

merged 6 commits into from Jan 13, 2021

Conversation

fozy81
Copy link
Member

@fozy81 fozy81 commented Jan 12, 2021

fixes issue #1599 -does this wording look okay? please review.

@fozy81 fozy81 changed the title Issue 159 Issue 1599 - add --lang option to guide Jan 12, 2021
@fozy81
Copy link
Member Author

fozy81 commented Jan 13, 2021

Hi @ijlee2 please review, thanks in advanced.

@@ -31,10 +31,11 @@ you will have access to a new `ember` command in your terminal.
You can use the `ember new` command to create a new application.

```bash
ember new ember-quickstart
ember new ember-quickstart --lang en
Copy link
Member

@ijlee2 ijlee2 Jan 13, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we update the example language to en-US, to better match the one in the ember-new-lang RFC? I think this may also help distinguish the locale from en-UK, for example.

Suggested change
ember new ember-quickstart --lang en
ember new ember-quickstart --lang en-US

(feel free to ignore this suggestion)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, the RFC does mention the example of just --lang en. I think what you have currently is okay. 👍🏼

```

This one command will create a new directory called `ember-quickstart` and set up a new Ember application inside of it.
The `--lang en` option sets the app's primary language to English to help improve [accessibility](../../accessibility/application-considerations/).
Copy link
Member

@ijlee2 ijlee2 Jan 13, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The `--lang en` option sets the app's primary language to English to help improve [accessibility](../../accessibility/application-considerations/).
The `--lang en-US` option sets the app's primary language to (US) English to help improve [accessibility](../../accessibility/application-considerations/).

(feel free to ignore this suggestion)

Copy link
Member

@ijlee2 ijlee2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fozy81 Thank you for working on updating the Application Considerations page to show the --lang option. I think the PR is good to be merged!

@ijlee2 ijlee2 merged commit 01f54d3 into ember-learn:master Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants