GithubHelp home page GithubHelp logo

Comments (20)

arjenmarkus avatar arjenmarkus commented on July 22, 2024 1

from fpm-docs.

awvwgk avatar awvwgk commented on July 22, 2024 1

I posted a few notes on my experience with GitHub's copilot in neovim for ML/AI based translation at #33.

from fpm-docs.

arjenmarkus avatar arjenmarkus commented on July 22, 2024 1

from fpm-docs.

vmagnin avatar vmagnin commented on July 22, 2024

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.

arjenmarkus avatar arjenmarkus commented on July 22, 2024

from fpm-docs.

awvwgk avatar awvwgk commented on July 22, 2024

I changed wordings and formulations for the German translation as well, since the literal translation didn't really work nicely.

from fpm-docs.

vmagnin avatar vmagnin commented on July 22, 2024

@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:

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.

awvwgk avatar awvwgk commented on July 22, 2024

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.

arjenmarkus avatar arjenmarkus commented on July 22, 2024

from fpm-docs.

awvwgk avatar awvwgk commented on July 22, 2024

Might be, I can currently see something like this

"geïnstalleerde packages bij te werken."

Which seems incorrectly encoded. Similarly for a few other places.

Also, there seems to be a missing double quote at

"Wanneer de checksums niet met elkaar overeenstemmen is de download "
hoogstwaarschijnlijk incompleet. Probeer het dan opnieuw en vergelijk "
"de checksum opnieuw."

from fpm-docs.

arjenmarkus avatar arjenmarkus commented on July 22, 2024

from fpm-docs.

awvwgk avatar awvwgk commented on July 22, 2024

I created a preview at https://awvwgk.github.io/fpm-docs/nl/index.html

from fpm-docs.

arjenmarkus avatar arjenmarkus commented on July 22, 2024

from fpm-docs.

arjenmarkus avatar arjenmarkus commented on July 22, 2024

from fpm-docs.

awvwgk avatar awvwgk commented on July 22, 2024

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.

arjenmarkus avatar arjenmarkus commented on July 22, 2024

from fpm-docs.

arjenmarkus avatar arjenmarkus commented on July 22, 2024

from fpm-docs.

awvwgk avatar awvwgk commented on July 22, 2024

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.

vmagnin avatar vmagnin commented on July 22, 2024

See #39 (comment)

from fpm-docs.

arjenmarkus avatar arjenmarkus commented on July 22, 2024

from fpm-docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.