You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1
Original file line number
Diff line number
Diff line change
@@ -68,8 +68,11 @@ npm run build -- --catalogUrl="https://earth-search.aws.element84.com/v1/"
68
68
This will only work on the root path of your domain though. If you'd like to publish in a sub-folder,
69
69
you can use the [`pathPrefix`](docs/options.md#pathprefix) option.
70
70
71
-
After building, `dist/` will contain all assets necessary to
71
+
After building, `dist/` will contain all assets necessary
72
72
host the browser. These can be manually copied to your web host of choice.
73
+
**Important:** If `historyMode` is set to `history` (which is the default value), you'll need to add
74
+
an additional configuration file for URL rewriting.
75
+
Please see the [`historyMode`](docs/options.md#historymode) option for details.
73
76
74
77
You can customize STAC Browser, too. See the options and theming details below.
75
78
If not stated otherwise, all options can either be specified via CLI, ENV variables or in the [config file](config.js).
@@ -113,6 +116,8 @@ The following languages are currently supported:
113
116
- it: Italian (Italy, Switzerland)
114
117
- ro: Romanian
115
118
119
+
We manage the translations in Crowdin, please see <https://crowdin.com/project/stac-browser/> for details.
120
+
116
121
To add your own language, please follow the guide below: [Adding a new langauge](#adding-a-new-language)
117
122
118
123
#### Custom phrases
@@ -282,6 +287,7 @@ You can also use one of the existing languages and provide an alternate version
282
287
- Adapt the `datepicker.js` and `duration.js` files to import the existing definitions from their corresponding external packages, but you could also define the specifics yourself.
283
288
- Check that your translation works by running the development server (`npm start`) and navigating to the STAC Browser instance in your browser (usually `http://localhost:8080`).
284
289
- Once completed, please open a pull request and we'll get back to you as soon as possible.
290
+
- After merging the PR for the first time, we'll add you to our translation management tool Crowdin: <https://crowdin.com/project/stac-browser/>. Please get in touch to get your invite!
0 commit comments