[bisq-network/bisq-website] Translate website to Portuguese (#190)
huey735
notifications at github.com
Fri Jun 21 16:40:18 UTC 2019
Create duplicates of:
/_data/
dao_content.yml
main_nav.yml
/_includes/
footer.html
homepage_content.html
main_nav.html
os_selector_options.html
Add the "_tr" suffix to signal that they're the translated versions and adapt the files inside /_includes/ to link the translated pages and strings.
Add pt_PT.yml inside /_data/ with the translated strings from .html files.
Change functions in /_layouts/default.html to accommodate for new languages.
Add "ref", "lang" and "language" variables to the web pages to be translated and copy them into a folder named after the respective language's code (the same specified in "lang") :
/community.md
/dao.html
/downloads.html
/faq.html
/index.md
/markets.html
/stats.html
/vision.md
Copy also /images/DAO and re-render the images with the translated strings.
You can view, comment on, or merge this pull request online at:
https://github.com/bisq-network/bisq-website/pull/190
-- Commit Summary --
* Translate website to Portuguese
* Fix version typo
-- File Changes --
A _data/dao_content_tr.yml (60)
A _data/main_nav_tr.yml (29)
A _data/pt_PT.yml (328)
A _includes/footer_tr.html (77)
A _includes/homepage_content_tr.html (298)
M _includes/main_nav.html (16)
A _includes/main_nav_tr.html (90)
A _includes/os_selector_options_tr.html (75)
M _layouts/default.html (20)
M community.md (3)
M dao.html (3)
M downloads.html (3)
M faq.html (3)
M index.md (4)
M markets.html (3)
A pt_PT/comunidade.md (35)
A pt_PT/downloads.html (81)
A pt_PT/estatÃsticas.html (52)
A pt_PT/faq.html (179)
A pt_PT/images/DAO/dao_benefits.svg (195)
A pt_PT/images/DAO/dao_how.svg (414)
A pt_PT/images/DAO/dao_intro.svg (360)
A pt_PT/images/DAO/dao_what.svg (238)
A pt_PT/images/DAO/dao_why.svg (1082)
A pt_PT/index.md (44)
A pt_PT/mercados.html (198)
A pt_PT/oad.html (326)
A pt_PT/visão.md (50)
M stats.html (3)
M vision.md (3)
-- Patch Links --
https://github.com/bisq-network/bisq-website/pull/190.patch
https://github.com/bisq-network/bisq-website/pull/190.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq-website/pull/190
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190621/df36ea1a/attachment.html>
More information about the bisq-github
mailing list