libremesh / libremesh.github.io

LibreMesh web site using Jekyll
http://libremesh.org/
21 stars 41 forks source link

Portuguese Brasil translation #33

Open ilario opened 7 years ago

ilario commented 7 years ago

There is some content translated in portuguese from Brasil (PT/BR) which could be reviewed and included in multi-lingual LibreMesh website/how_it_works: https://vedetas.org/wp-content/uploads/2017/06/libremesh_como_funciona_PT_BR.pdf Does anyone know portuguese enough?

nicopace commented 7 years ago

@altergui and I can read, and also Rodrigo Troian and Brunno Vienna.. . Will ask

On September 22, 2017 3:43:47 PM GMT+05:30, Ilario Gelmetti notifications@github.com wrote:

There is some content translated in portuguese from Brasil (PT/BR) which could be reviewed and included in multi-lingual LibreMesh website/how_it_works: https://vedetas.org/wp-content/uploads/2017/06/libremesh_como_funciona_PT_BR.pdf Does anyone know portuguese enough?

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/libremesh/lime-web/issues/33

-- Enviado desde mi dispositivo Android con K-9 Mail. Por favor, disculpa mi brevedad.

brunovianna commented 6 years ago

Done - https://github.com/libremesh/lime-web/pull/41 Will continue working on the other pages.

ilario commented 6 years ago

Sorry for closing this issue too early, the button for switching to Portuguese is not there yet.

henmohr commented 3 years ago

Hello! Is there a possibility to use these translations: https://translatewiki.net/wiki/Translating:LibreMesh

:0 omg old topic :+1:

spiccinini commented 3 years ago

Hi @ilario ! The button to switch language is something you know how to do it or we have to investigate it? It will work as a global config so that the menu is different on each language?

ilario commented 3 years ago

Hi @ilario ! The button to switch language is something you know how to do it or we have to investigate it? It will work as a global config so that the menu is different on each language?

I don't know who set it up but you can check out how it is implemented in the documentation page: https://libremesh.org/docs/index.html it's the button at the top left corner.

Seems that you should add something like

---
title: 
ref: 
lang: 
---

at the beginning of your page and also in the english page, see

https://github.com/libremesh/lime-web/blob/d460f7f6134f31f13c82932b145afee0f0dee489/docs/en_quick_starting_guide.txt#L1-L5

https://github.com/libremesh/lime-web/blob/d460f7f6134f31f13c82932b145afee0f0dee489/docs/it_guida_rapida_per_iniziare.txt#L1-L5

then seems that this file also have to include the list of languages. https://github.com/libremesh/lime-web/blob/master/css/lime.css

Maybe there is something else but I don't know.

henmohr commented 3 years ago

Hi @ilario I tested this way of adding new language and it seems to work. https://github.com/henmohr/lime-web But need to figure out how the language button work's across the pages.

This standard we can use now? language_name of file.txt ? ex: pt-br_index.txt

ilario commented 3 years ago

Hi @ilario I tested this way of adding new language and it seems to work. https://github.com/henmohr/lime-web

One comment: you created a lime.css file rather than modifying the css/lime.css file, was this an error or does it has a reason of being like that?

But need to figure out how the language button work's across the pages.

No idea if this will magically work on the index page. I don't have Jekyll for testing locally, if you have it please test. Otherwise we can merge and see if it works.

This standard we can use now? language_name of file.txt ? ex: pt-br_index.txt

Looks good.

henmohr commented 3 years ago

Hi @ilario I tested this way of adding new language and it seems to work. https://github.com/henmohr/lime-web

One comment: you created a lime.css file rather than modifying the css/lime.css file, was this an error or does it has a reason of being like that?

I created accidentaly! Thanks!

I will get in touch with Pato to get the translations files that are in translateWiki, because i couldn't find where to download all!

ilario commented 3 years ago

I will get in touch with Pato to get the translations files that are in translateWiki, because i couldn't find where to download all!

On this page I can view the list, but I have no idea how to download a nice file with that: https://translatewiki.net/w/i.php?title=Special:Translate&action=page&group=libremesh&language=pt-br&filter=translated&optional=1

@patogit