Comments (20)
from fpm-docs.
I posted a few notes on my experience with GitHub's copilot in neovim for ML/AI based translation at #33.
from fpm-docs.
from fpm-docs.
it should not be too hard to produce a translation :).
For long sentences, I am using https://www.deepl.com/ to accelerate the work. I am very impressed by the result. I have just to verify the translation and change a few words or expressions.
You can use it also with Dutch.
With poedit and DeepL, it's quick.
from fpm-docs.
from fpm-docs.
I changed wordings and formulations for the German translation as well, since the literal translation didn't really work nicely.
from fpm-docs.
@awvwgk @arjenmarkus
Another problem is the vocabulary of the field: a framework, a (Fortran) unit, etc. It can be a problem for an automatic tool, but also for a human being. It can take a few minutes to find a correct translation of such a single word, if there is one.
But globally, I feel that DeepL, although not perfect, is a great help for long sentences and paragraphs. I will also have a look to those tools:
- https://pypi.org/project/polyglot-translator/
- https://github.com/confdnt/python-auto-translate-gettext
Anyway, when the first round of translation will be over, I plan to print everything and calmly read it, then improve it again when possible. I feel that a problem with translation is that you are focusing on a sentence or a paragraph, but it's difficult to keep in mind the whole picture...
Finally, an interesting point in translating that doc is that I am learning new fpm features. That's could be a good argument to motivate other people. And it is a relatively easy way to be involved in the community: it's far easier to translate the doc of fpm than to try to contribute to its code, now that the tool is growing mature. The learning curve is far more gentle.
from fpm-docs.
Something is off with the file encoding, I get
...
Update: locale/de/LC_MESSAGES/how-to.po +1, -0
Update: locale/zh_CN/LC_MESSAGES/how-to.po +1, -0
Update: locale/es/LC_MESSAGES/how-to.po +1, -0
Update: locale/fr/LC_MESSAGES/how-to.po +1, -0
Traceback (most recent call last):
... several lines Python exception gibberish ...
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xeb in position 18: invalid continuation byte
Also, could you apply the patch shown below to your branch to enable Dutch in the language navigation?
diff --git a/Makefile b/Makefile
index 9044909..00c473d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
# Minimal makefile for Sphinx documentation
# You can set these variables from the command line.
-LANGUAGES ?= en de zh_CN es fr
+LANGUAGES ?= en de zh_CN es fr nl
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SPHINXINTL ?= sphinx-intl
diff --git a/pages/_templates/sbt-sidebar-footer.html b/pages/_templates/sbt-sidebar-footer.html
index 0c04530..d988c54 100644
--- a/pages/_templates/sbt-sidebar-footer.html
+++ b/pages/_templates/sbt-sidebar-footer.html
@@ -2,7 +2,7 @@
<div class="navbar_extra_footer">
<div class="sd-fs-6">
·
- {%- for lang in ('zh_CN', 'de', 'en', 'es', 'fr', ) %}
+ {%- for lang in ('zh_CN', 'de', 'en', 'es', 'fr', 'nl', ) %}
{%- if lang == language %}
<b>{{lang.lower()[-2:]}}</b>
{%- else %}
from fpm-docs.
from fpm-docs.
Might be, I can currently see something like this
fpm-docs/locale/nl/LC_MESSAGES/how-to.po
Line 158 in f5f7345
Which seems incorrectly encoded. Similarly for a few other places.
Also, there seems to be a missing double quote at
fpm-docs/locale/nl/LC_MESSAGES/how-to.po
Lines 110 to 112 in f5f7345
from fpm-docs.
from fpm-docs.
I created a preview at https://awvwgk.github.io/fpm-docs/nl/index.html
from fpm-docs.
from fpm-docs.
from fpm-docs.
I updated the Dutch preview again, since there was a new commit on your branch.
Regarding your question on the Note header, those will be used in the admonition headers like on the landing page.
from fpm-docs.
from fpm-docs.
from fpm-docs.
There is a bug in sphinx-design which does not allow proper translation of the button labels. I haven't found a fix for this issue yet.
from fpm-docs.
See #39 (comment)
from fpm-docs.
from fpm-docs.
Related Issues (20)
- Install Instructions for Homebrew Mac Broken
- migrate to setup-micromamba from provision-with-micromamba HOT 1
- Restructuring of the fpm docs HOT 5
- bug: website deploys before merging to main HOT 3
- maint: enable dependabot alerts
- French translation / Traduction en Français HOT 8
- Use fpm logo HOT 1
- Update fpm plugin tutorial
- Japanese translation HOT 2
- Dependency management
- Host fpm registry HOT 1
- Remove `❯` from code-blocks to make copy-pasted code runnable HOT 2
- Rebuild with cron job
- Add Bengali (bn) translation
- Add Polish (pl) translation
- MacPorts has fpm port HOT 3
- Source file scoping specification
- Source file scoping specification
- Hindi translation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fpm-docs.