Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portuguese Brasil translation #33

Open
ilario opened this issue Sep 22, 2017 · 10 comments
Open

Portuguese Brasil translation #33

ilario opened this issue Sep 22, 2017 · 10 comments

Comments

@ilario
Copy link
Member

ilario commented Sep 22, 2017

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
Copy link
Member

nicopace commented Sep 22, 2017 via email

@brunovianna
Copy link
Contributor

Done - #41
Will continue working on the other pages.

@ilario ilario closed this as completed Nov 7, 2017
@ilario
Copy link
Member Author

ilario commented Nov 10, 2017

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

@ilario ilario reopened this Nov 10, 2017
@henmohr
Copy link
Contributor

henmohr commented Oct 18, 2020

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

:0 omg old topic 👍

@spiccinini
Copy link
Collaborator

spiccinini commented Oct 26, 2020

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
Copy link
Member Author

ilario commented Oct 26, 2020

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
Copy link
Contributor

henmohr commented Oct 28, 2020

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
Copy link
Member Author

ilario commented Oct 31, 2020

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
Copy link
Contributor

henmohr commented Dec 7, 2020

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
Copy link
Member Author

ilario commented Dec 7, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants