-
Notifications
You must be signed in to change notification settings - Fork 15
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
TASK 6: Make OSCSA blog bilingual. #9
Comments
We are working on it together @Thesaleem @mutmainaho |
How do we get started @Mublin @mutmainaho |
we create a nav item, an icon like in the main website
|
@Mublin and @Thesaleem Can i join you both on this task ? |
Sure |
What progress have you made now so I know where to start from |
still wrapping my head around quarto, we have to understand it first. I am still checking how it works, what about you? |
I've watched a few introductory videos on youtube and I'm reading the documentation now |
Hello @Mublin why do we have to use quarto cause I can see it uses python but the project was built on JavaScript. just asking for clarifications |
Great, happy to have you on board |
I think when you read the task it shows bilingual and it shows we can check the sample from a github project, it’s uses quarto but try using your own way and see how it goes😉, there’s no right way in coding |
I don't know if it has much to do with quarto. What if we used a translation plugin like i18n @BatoolMM ? I see that the project uses JavaScript, and we can use JSON files to serve both translations. So that the user could use some sort of toggle to switch between languages, and a fetch method is used to get the different translation files. Would love to hear what you all think, here is an article I found. |
Give it a try I guess
…On Wed, 12 Oct 2022 at 10:58, Njong Emy ***@***.***> wrote:
I don't know if it has much to do with quarto. What if we used a
translation plugin like i18n @BatoolMM <https://github.com/BatoolMM> ? I
see that the project uses JavaScript, and we can use JSON files to serve
both translations. So that the user could use some sort of toggle to switch
between languages, and a fetch method is used to get the different
translation files.
Would love to hear what you all think, here is an article
<https://phrase.com/blog/posts/step-step-guide-javascript-localization/>
I found.
—
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYN6QHUSZIYWVVGB6L4EWJ3WC2DTLANCNFSM6AAAAAARCPWP5I>
.
You are receiving this because you were mentioned.Message ID:
<Open-Science-Community-Saudi-Arabia/OSCSA-en-blog/issues/9/1275906439@
github.com>
|
The problem with google translate is that it does not care about the format of certain things like dates, numbers etc. I thought we could use localization to work around that. |
@Mublin have you seen this? I read the article and I think it makes sense . I’m curious as to what @BatoolMM thinks. |
Sure let’s try that too |
From the discussions on the reference repo given by @BatoolMM , (Here's the link) . I think we need to create different .yml files for both languages and render it. That means we still need to a fair knowledge of quarto |
You understand the concept now, im already working on that, work on that too |
I think it does make sense too but from the article, all the english text has to be translated to arabic. |
@Thesaleem I will would like join |
Thank you all for your hard work. An example of Arabic blog post with Quarto is here, but it's not deployed. YOu can locally deploy it and re-use some of the content! |
I cannot find the arabic posts, I have done it, but I cannot find the arabic posts @BatoolMM |
It is a short one, but it's in the same repo. Also, note the CSS used for Arabic to switch everything to right-to-left. Let us know if you need anything else! |
Ok will check it out now |
I cannot still find the Arabic post can you give me a link to check please @BatoolMM the link you gave me is given a 400 error code |
Still waiting for the Arabic contents the blog post @BatoolMM @alswajiab |
@Mublin It should work now, the repo was private but I made it public now! |
Thank you @Mublin, it looks good to me but I need to review the PR! |
Thank you too, pull request done, you can check it out and see what is going on |
@Mublin I'd like to join in. What has been done so far |
Everything has been done |
Description
Make the OSCSA blog bilingual by allowing user switch between English and Arabic.
Who is working on this issue?
@Mublin @mutmainaho @Thesaleem
The text was updated successfully, but these errors were encountered: