fpm-docs
fpm-docs copied to clipboard
Chinese translation / 中文本地化翻译
This thread tracks the translation of the documentation to Chinese. Feel free to post either in Chinese or English in this threads, whatever seems most appropriate.
此线程跟踪文档的中文翻译。无论看起来是否合适,都可以随时在此帖子中以中文或英文发布消息。
Issues:
- https://github.com/executablebooks/sphinx-book-theme/issues/433
@henilp105 @awvwgk
I noticed that the Chinese translation website "https://fpm.fortran-lang.org/cn/index.html" is not accessible, as well as "https://fpm.fortran-lang.org/zh_cn/index.html", check the source code:
https://github.com/fortran-lang/fpm-docs/blob/a3409703d1b03b85b0abcedc1fe5872ca54b13e7/pages/_templates/sbt-sidebar-footer.html#L5-L10
I found that the use of lang.lower()[-2:] here means that zh_CN is replaced with cn.
Actually only "https://fpm.fortran-lang.org/zh_CN/index.html" is accessible.
Thanks @zoziha , I have patched this in PR #121 .