Comments (13)
Should we add an option in the member profiles for the "info" field in different languages? Or perhaps the easier solution is for multi-lingual folks to just have longer "info" data with things translated into other languages in the existing field?
from open-traits-network.github.io.
I am happy to do Italian and French if you want!
from open-traits-network.github.io.
@rachaelgallagher Happy to help. Yaoqi may also be able to help us.
Given that we are considering multiple languages, we may do this in a more structurally way.
- have a table, rows represent contents, columns represent same meaning in different languages. The contents could be words, paragraphs. And those are just a subset of things we want to show in different languages.
- for example:
id English Chinese
1 hi 你好
2 how are you 你好吗
Just a suggestion, not sure if possible to implement it here (@jhpoelen ).
from open-traits-network.github.io.
thanks for the offer to help out @shandongfx and @caterinap. I was envisioning that we would just have a button at the top of the screen on the site to translate the page to another language, with options for Spaniah, Chinese, French, Italian etc. @bmaitner - I am not sure what you are proposing, but perhaps we can talk through it in our skype if I can schedule it for outside your teaching hours.
from open-traits-network.github.io.
I've recently introduced translations for https://globalbioticinteractions.org using lightweight jekyll approach. See https://github.com/globalbioticinteractions/globalbioticinteractions.github.io . For simple site like ours, this seems appropriate.
Approach is:
- default is English
- define paths based on context language ( e.g., https://github.com/globalbioticinteractions/globalbioticinteractions.github.io/blob/master/_config.yml#L27)
- translated words get an id and go into
_config.yml
(e.g., https://github.com/globalbioticinteractions/globalbioticinteractions.github.io/blob/master/_config.yml#L27) - translated pages go into
/[language code]/
(e.g., es, jp)
Then, translated words (in dataset/ member pages), would need to be encoded using tags like {{ site.t[ word id][ language code] }}
(e.g., https://github.com/globalbioticinteractions/globalbioticinteractions.github.io/blob/master/_includes/interactionTypeSelector.html)
So, yes, it is possible.
Questions are:
- who's going to setup the infrastructure?
- which languages are most important?
- should we do this before manuscript gets published?
from open-traits-network.github.io.
I'd be happy to volunteer to assist / help review someone who's going to get it setup.
from open-traits-network.github.io.
Rather than providing alternate language content on the basis of translating words, it seems like it might be better to have whole text blocks translated. My concern is that automatic translations might lose some of the meaning, or end up being a bit nonsensical. Of course, the trade-off would be that someone would need to translate whole text blocks, but I think its alright if those lag behind a bit.
from open-traits-network.github.io.
@bmaitner Totally agree. I found that depending on context translating entire pages (e.g., introduction/about pages), text blocks or individual words (e.g., pick lists, menus) makes sense.
For example of whole text blocks translation, see https://github.com/globalbioticinteractions/globalbioticinteractions.github.io/blob/master/_config.yml#L107
from open-traits-network.github.io.
Would it be possible to modify this code so that the code for the translated blocks of text are on the corresponding .md files?
e.g. 2019-09-16-new-website.md
might contain both english and spanish version of the text.
from open-traits-network.github.io.
I think it's possible. Want to give it a try?
from open-traits-network.github.io.
Sure, it might take me a while to wrap my head around the coding, but I'll try to find some time to look into this.
from open-traits-network.github.io.
Ok, I've played around with a few of the plugins, and I guess our first step should be to select one of these. Does anyone have a preference? The multiple-languages plugin seems to be relatively common, and seems to be updated more frequently than some of the other plugins available.
from open-traits-network.github.io.
I prefer using no plugin to keep things simple, especially given our lightweight website. Happy to walk you through the no-plugin approach I've used elsewhere.
from open-traits-network.github.io.
Related Issues (20)
- Please add EOL-hosted datasets (batch 1 of 3) to the OTN dataset registry HOT 12
- Please add EOL-hosted datasets (batch 2 of 3) to the OTN dataset registry HOT 1
- Please add EOL-hosted datasets (batch 3 of 3) to the OTN dataset registry HOT 1
- I'd like to join the Open Traits Network HOT 2
- I'd like to join the Open Traits Network HOT 1
- I'd like to join the Open Traits Network HOT 1
- Please add [name] to the OTN dataset registry HOT 1
- I'd like to join the Open Traits Network HOT 1
- I'd like to join the Open Traits Network HOT 1
- I'd like to join the Open Traits Network HOT 1
- I'd like to ... that an open discussion forum on collecting trait data is scheduled today 29 Sept 2022 at DigiBioCon 2022
- I'd like to ... think how to make the 10 rules alive HOT 11
- I'd like to join the Open Traits Network HOT 1
- edit button is not working in all 10 rules HOT 1
- I'd like to ... update the website - wiki data integrations - in preparation for Ronin Lightning Talk 7 Dec 2022 / 12p US East Coast / 6p Central Europe HOT 1
- Please add [Dive Duration Dataset] to the OTN dataset registry HOT 1
- I'd like to join the Open Traits Network HOT 5
- I'd like to ... make the member maps and profile pictures appear again HOT 1
- I'd like to ... figure out whether Open Traits Networks should have a presence at 52nd Annual Meeting of the Ecological Society of Germany, Austria and Switzerland HOT 3
- I'd like to ... make it easier to access phenology data from Herbaria HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-traits-network.github.io.