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
* Add i18n and 10n with lingui and babel
* Adapt strings for localization
* Update language switcher
* Add local storage and fix language switcher
* Add more strings, fix language swithcer routing and add more translations
* Add additional strings
* remove uneeded router
* Add unique key to menuitems
* Remove files from version control
* Remoe other file and update gititnore and package.json
* Remove comment
* Fix translations in blog
* Try to resolve dependency issues in npm
* Apply suggestions from Copilot code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Remove unused Trans
* Add information about translations to README.md
* Trying to fix blog display
* Add link
* Update yarn.lock
* Add compiled messages for babel
* Apply code review suggestion
* Update dependencies
* Revert changes to yarn.lock
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Resolve eslint log error
* Set default locale for blog posts
* First try
* Always serve english versions of blog posts
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update packages
* Add compile script for lingui
* Remove language switcher from blog
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Adjust header elements fit
---------
Co-authored-by: Melissa Weber Mendonça <melissawm@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,14 @@ You can start editing the page by modifying `pages/index.js`. The page auto-upda
51
51
/>
52
52
</a>
53
53
54
+
## Translations
55
+
56
+
Translations are managed through Crowdin at https://scientific-python.crowdin.com. The xarray project is part of the [Scientific Python](https://scientific-python.org/) organization on Crowdin, which also includes projects such as NumPy, SciPy, and others.
57
+
58
+
When creating new content or editing existing content, only the english version of the content should be modified directly in this repository. Once this new content is merged into the main branch of the xarray.dev website, the Crowdin integration will automatically pick up the changes and notify translators that new translations are needed. Once the translation is completed, a pull request will be automatically created in this repository to add the new translated content.
59
+
60
+
For more details on how the integration works, see https://scientific-python-translations.github.io/docs/. For more details on how to translate the website, see https://scientific-python-translations.github.io/translate/.
61
+
54
62
## Authoring blog post tips
55
63
56
64
1. To create a new blog post a good place to start is copying a subfolder under `src/posts/`, so, for example https://xarray.dev/blog/flox is written here https://github.com/xarray-contrib/xarray.dev/blob/e04905f5ea039eb2eb848c0b4945beee323900e4/src/posts/flox/index.md
0 commit comments