Skip to content

Commit

Permalink
Add de lang to webpack.config.js and update doc (#2909)
Browse files Browse the repository at this point in the history
  • Loading branch information
maudetes committed Oct 16, 2023
1 parent c00b235 commit 82111ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- Remove `deleted` api field that does not exist [#2903](https://github.com/opendatateam/udata/pull/2903)
- Fix site title and keywords never get updated [#2900](https://github.com/opendatateam/udata/pull/2900)
- Reuse's extras are now exposed by API [#2905](https://github.com/opendatateam/udata/pull/2905)
- Add German to udata translations [2899](https://github.com/opendatateam/udata/pull/2899)[2909](https://github.com/opendatateam/udata/pull/2909)

## 6.1.7 (2023-09-01)

Expand Down
1 change: 1 addition & 0 deletions docs/adding-translations.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ To propose a new language you need to submit a pull request:
* create a branch for the new translations (ex: `add-language-fr`)
* in this branch
- add the language to the `LANGUAGES` setting
- add the language to the const `languages` in webpack.config.js
* submit the pull request

Once it has been accepted, we will also create the new language translation in Crowdin.
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const ExtractTextPlugin = require('extract-text-webpack-plugin');
const css_loader = ExtractTextPlugin.extract('vue-style?sourceMap', 'css?sourceMap');
const less_loader = ExtractTextPlugin.extract('vue-style?sourceMap', 'css?sourceMap!less?sourceMap=source-map-less-inline');

const languages = ['en', 'es', 'fr', 'pt', 'sr'];
const languages = ['en', 'es', 'fr', 'pt', 'sr', 'de'];
const public_path = '/static/';

module.exports = {
Expand Down

0 comments on commit 82111ce

Please sign in to comment.