-
Notifications
You must be signed in to change notification settings - Fork 37
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
Hebrew translation #5
Conversation
This is great, thanks so much! I'll add a line to the header that lists all the available translations. I noticed that the graphs have text that's not listed in the HTML page. This should be an easy fix, I'll look into it now & get back to you. |
& linked to Hebrew translation
@DeepSpace2 I tried to make the graphs translatable by passing the text from html to the layout function in the graph component. Could you please make the following edits:
Thanks, and let me know if any issues arise! |
@aatishb Thanks! Only one small thing is left: The definition of Can we pass them as arguments, like If I had any idea how |
Thanks! Yes, we can definitely pass these words as arguments.. looking into it. |
@aatishb I think I got it. We can add the three words to the
I also noticed something else. Since Hebrew is right-to-left I added Do you agree with this approach? EDIT We need to translate and pass the entire phrase ("Contagious person" and "Suspectible person") and not individual words because in some languages (for example, Hebrew and Spanish) the adjective comes after the noun. |
@DeepSpace2 yes, that's the right way to extend the component. 👍 I think your approach with the div sounds good. It seems like it would fix this issue but won't affect other languages that are left to right. My quick thoughts are, if this is the same approach for other right to left languages then let's edit the template in |
Passing the entire phrase sounds good! |
@aatishb Done 👍 I've no idea why, but camel-casing the variable names didn't work. Feel free to change them if you think it's necessary. |
@DeepSpace2 haha this is how Vue works because HTML components are not case sensitive. If you camelCase the components in javascript you have to kebab-case them in HTML. https://vuejs.org/v2/guide/components-props.html Thanks so much for your efforts! I'll plan to review and merge over the weekend. |
Tagging the translations thread: #4 |
Hi @DeepSpace2, I was just going through to compare against the original. One question I had is did you maybe miss a few paragraphs at the end, specifically these ones? |
@aatishb Thanks, added the missing paragraphs |
@all-contributors add @DeepSpace2 for translation |
I've put up a pull request to add @DeepSpace2! 🎉 |
Thanks for your efforts on this @DeepSpace2! |
@DeepSpace2 One more thing, feel free to add a line of credit to yourself in |
@aatishb I didn't add a link to
index-he.html
onindex.html
, left it for you to do as you see fit 👍