fortran-lang / fpm-docs

Documentation repository for the Fortran package manager (fpm)
https://fpm.fortran-lang.org
MIT License
34 stars 21 forks source link

Spanish translation / Traducción al español #4

Open awvwgk opened 2 years ago

awvwgk commented 2 years ago

This thread tracks the translation of the documentation to Spanish. Feel free to post either in Spanish or English in this threads, whatever seems most appropriate.

cc @aslozada

aslozada commented 2 years ago

Title in index.html without translation

index.po (Spanish) espanol_po Espanol

index.po (German)

deutsch_po deutsch

awvwgk commented 2 years ago

I think this might be a bug in sphinx-design, the Fortran package manager is a card title which apparently not captured with babel, similar issue for the button-ref, reported upstream in https://github.com/executablebooks/sphinx-design/issues/45.

aslozada commented 2 years ago

Some warnings when translating menu options


fpm-docs/pages/index.md:1: WARNING: inconsistent term references in translated message. original: ['tutorial'], translated: []
fpm-docs/pages/index.md:1: WARNING: inconsistent term references in translated message. original: ['how-to'], translated: []
fpm-docs/pages/index.md:1: WARNING: inconsistent term references in translated message. original: ['design'], translated: []
fpm-docs/pages/index.md:1: WARNING: inconsistent term references in translated message. original: ['spec'], translated: []

Result

menu

awvwgk commented 2 years ago

Yeah, I found this one as well. Most likely due to https://github.com/executablebooks/sphinx-design/issues/44, another issue with sphinx-design, resulting from the translation of the button-ref labels. I just went with not translating those for now until we get a fix upstream.

aslozada commented 2 years ago

Description in "How-to" section:

file how-to.po. installation.md:3


Installing fpm This how-to guide covers the installation of Fortran on various platforms.


Fortran or fpm?

aslozada commented 2 years ago

Buttons lose features after translation. (Text-color, Background-color, action) is this another issue with sphinx-design?

buttons

awvwgk commented 2 years ago

I changed the markup to capture the card titles, I'll look into a way to get the button-ref directives working. I could make the whole card clickable as alternative

aslozada commented 2 years ago

Hi Sebastian @awvwgk, The languages links are missing in fpm.fortran-lang.org missing

awvwgk commented 2 years ago

An update of the sphinx-book-theme broke your side. I'll pin it to 0.2.0 and than figure out later what was changed.