Skip to content

Commit dd1053d

Browse files
authored
docs: update i18n file (#602)
* refactor: update i18n file * refactor: update i18n
1 parent 41faa1a commit dd1053d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/how_tos/i18n.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,17 +119,17 @@ The pipeline jobs live in the `ecommerce-scripts <https://github.com/openedx/eco
119119

120120
"i18n_extract": "BABEL_ENV=i18n babel src --quiet > /dev/null"
121121

122-
* Add ``babel-plugin-react-intl`` to your dev dependencies::
122+
* Add ``babel-plugin-formatjs`` to your dev dependencies::
123123

124-
npm install babel-plugin-react-intl --save-dev
124+
npm install babel-plugin-formatjs --save-dev
125125

126126
* Add this to ``.babelrc``::
127127

128128
"env": {
129129
"i18n": {
130130
"plugins": [
131131
["react-intl", {
132-
"messagesDir": "./temp/babel-plugin-react-intl",
132+
"messagesDir": "./temp/babel-plugin-formatjs",
133133
"moduleSourceName": "@edx/frontend-platform/i18n"
134134
}]
135135
]
@@ -138,7 +138,7 @@ The pipeline jobs live in the `ecommerce-scripts <https://github.com/openedx/eco
138138

139139
Then:
140140

141-
* Confirm that running ``make i18n.extract`` creates a lot of ``.json`` files in ``your-repo/temp/babel-plugin-react-intl/`` .
141+
* Confirm that running ``make i18n.extract`` creates a lot of ``.json`` files in ``your-repo/temp/babel-plugin-formatjs/`` .
142142

143143
* Add ``temp`` and ``src/i18n/transifex_input.json`` to your ``.gitignore``.
144144

@@ -184,7 +184,7 @@ Create your pipeline job on Jenkins
184184

185185
* Run the script that you try to create the jobs.
186186

187-
* Examples: ``python transifex/pull.py https://github.com/openedx/edx-platform.git edx/sustaining-team``. You might be required to setup environment variable ``GITHUB_ACCESS_TOKEN`` with your personal github account.
187+
* Examples: ``python transifex/pull.py https://github.com/openedx/edx-platform.git``. You might be required to setup environment variable ``GITHUB_ACCESS_TOKEN`` with your personal github account.
188188

189189
* For ``push_translations``, you also need transifex authentication. This action will try to create project resource if it isn't existed yet. If you don't have permission, it will fail.
190190

0 commit comments

Comments
 (0)