Open amulgarg opened 6 years ago
It's a bit of a process: • Add the language to config/locales/locales.yml. • Copy config/locales/en.yml to config/locales/[NEWLOCALE].yml, and translate all the strings in it. • Ensure a file exists for the locale in public/javascripts/vendor/timezone/. These files come from https://github.com/bigeasy/timezone and one may already exist for the locale being added. If not, create the file. You can use the enUS.js file as a template, then most of the strings in the file can be replaced with values from the YAML file for the locale. If it the filename does not match the language code with s/-//g, then configure bigeasy_locale in locales.yml. • Similarly, ensure a file exists for the locale in public/javascripts/bower/moment/locale/. These files come form Moment.js and one may already exist for the locale being added. If not, create the file. You can use the en-gb.js (en-us is unfortunately implicit) file as a template, then most of the strings in the file can be replaced with values from the YAML file for the locale. If the filename does not match the language code downcased, then configure moment_locale in locales.yml • Ensure existence of corresponding file in public/javascripts/bower/fullcalendar/dist/lang/. If the filename does not match the language code downcast, then configure fullcalendar_locale in locales.yml.
If the datepicker isn't working correctly, one thing to check is whether our date format strings match between translated versions. You can see the different places these are defined here: • public/javascripts/bower/fullcalendar/dist/lang/XX.js • public/javascripts/bower/moment/locale/XX.js • public/javascripts/vendor/timezone/XX.js • config/locales/XX.yml
one other thing, we don’t load all the languages in development mode by default, so to get that to work you need to add an environment variable:
• $ rake i18n:generate_js
• $ RAILS_LOAD_ALL_LOCALES=true USE_OPTIMIZED_JS=true yarn run webpack
• $ RAILS_LOAD_ALL_LOCALES=true bundle exec rails server
Hope that helps! Simon
Thanks, Simon. This helps a lot!
Dear Simon,
I passed your guide to my technician to add my language but fail. I visited website https://github.com/instructure/canvas-lms/tree/master/config/locales and revise 2 files then send to my technician to add my language but fail. See attached my language files. file vi.yml: https://drive.google.com/file/d/1NicbaQB2jyLq4MNyjVwPGiIOUVQe8wxN/view?usp=sharing File locales: https://drive.google.com/file/d/1NicbaQB2jyLq4MNyjVwPGiIOUVQe8wxN/view?usp=sharing
See below technician's comment
"Unfortunately I can't add your language to the Canvas LMS. Where is a lot of errors with YAML syntax in the file, for example "(
Do you have update guide or can you help me to add my Vietnamese language to my Canvas. I can pay service charge. Best regards, David ADT International JSC Email: david@adtgroup.net Skype: david.le.adt; Mobile/Whatapp/Zalo/Vibre/Imo: +84.986354152
This manual looks outdated.
Pls. help me to send updated instruction to add new language to Canvas
I have the same requirement with them
Please help me fix this issue, datepicker isn't working correctly. I added Vietnamese language in the latest stable version.
Bạn ở trường nào vậy?
David
Sent from Mail for Windows
From: Hoan Sent: Saturday, August 28, 2021 3:36 PM To: instructure/canvas-lms Cc: lekhachiep-ADT; Comment Subject: Re: [instructure/canvas-lms] How do I add a new language to Canvas?(#1314)
Please help me fix this issue, datepicker isn't working correctly. I added Vietnamese language in the latest stable version. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
Bạn ở trường nào vậy? David Sent from Mail for Windows From: Hoan Sent: Saturday, August 28, 2021 3:36 PM To: instructure/canvas-lms Cc: lekhachiep-ADT; Comment Subject: Re: [instructure/canvas-lms] How do I add a new language to Canvas?(#1314) Please help me fix this issue, datepicker isn't working correctly. I added Vietnamese language in the latest stable version. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
Mình làm dự án opensource cho các trường thôi, bạn đã chỉnh được chưa?
Làm cái ngôn ngữ tiếng Việt này lằng nhằng thật. Cũng đang mò đây
you need to create a file vi-VN.yml in path/to/canvas/config/locales/ (can get the template from en.yml) After that add Vietnamese config to path/to/canvas/config/locales/locales.yml (can get them to template config on this file) And then, recompile access and restart the apache server. It work for me. Thanks
Could you give me your email. There are some matters I want to clear
Sent from Mail for Windows
From: Dr. Bravestone Sent: Thursday, September 9, 2021 4:30 PM To: instructure/canvas-lms Cc: lekhachiep-ADT; Comment Subject: Re: [instructure/canvas-lms] How do I add a new language to Canvas?(#1314)
you need to create a file vi-VN.yml in path/to/canvas/config/locales/ (can get the template from en.yml) After that add Vietnamese config to path/to/canvas/config/locales/locales.yml (can get them to template config on this file) And then, recompile access and restart the apache server. It work for me. Thanks — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
I think we should discuss it in here to help other people resolve the issue
I am very happy to add my language to Canvas successfully. Beside this, I added advance tools: Big Blue Button (Conference), Attendance, Analytic and some very interesting ones: AI tool to covert from Word files to question bank, Proctoring. See my video: https://edunow.vn/friend/
dear all: congratulations to you add your new language for lms,but can you tell me how to get "help" for the lms platform.
thank you very much.
At 2021-09-15 23:23:37, "lekhachiep-ADT" @.***> wrote:
I am very happy to add my language to Canvas. Beside this, I added advance tools: Big Blue Button (Conference), Attendance, Analytic and some very interesting ones: AI tool to covert from Word files to question bank, Proctoring. See my video: https://edunow.vn/friend/
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
I donot understand your question clearly. I guest that you are talking about “help” link in home page, see https://prnt.sc/1sfv5do It is standard default home page.
Best regard,
David
Sent from Mail for Windows
From: Kevin Deng Sent: Thursday, September 16, 2021 8:23 PM To: instructure/canvas-lms Cc: lekhachiep-ADT; Comment Subject: Re: [instructure/canvas-lms] How do I add a new language to Canvas?(#1314)
dear all: congratulations to you add your new language for lms,but can you tell me how to get "help" for the lms platform.
thank you very much.
At 2021-09-15 23:23:37, "lekhachiep-ADT" @.***> wrote:
I am very happy to add my language to Canvas. Beside this, I added advance tools: Big Blue Button (Conference), Attendance, Analytic and some very interesting ones: AI tool to covert from Word files to question bank, Proctoring. See my video: https://edunow.vn/friend/
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
sorry, I donot say very clearly, I mean that "help" in the menu bar how to get it.like this picture:
At 2021-09-16 22:26:34, "lekhachiep-ADT" @.***> wrote:
I donot understand your question clearly. I guest that you are talking about “help” link in home page, see https://prnt.sc/1sfv5do It is standard default home page.
Best regard,
David
Sent from Mail for Windows
From: Kevin Deng Sent: Thursday, September 16, 2021 8:23 PM To: instructure/canvas-lms Cc: lekhachiep-ADT; Comment Subject: Re: [instructure/canvas-lms] How do I add a new language to Canvas?(#1314)
dear all: congratulations to you add your new language for lms,but can you tell me how to get "help" for the lms platform.
thank you very much.
At 2021-09-15 23:23:37, "lekhachiep-ADT" @.***> wrote:
I am very happy to add my language to Canvas. Beside this, I added advance tools: Big Blue Button (Conference), Attendance, Analytic and some very interesting ones: AI tool to covert from Word files to question bank, Proctoring. See my video: https://edunow.vn/friend/
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
You want to have help link in home page lick this: https://prnt.sc/1sfv5do It is standard design after you installed Canvas. Let me see your Canvas website
David
Sent from Mail for Windows
From: Kevin Deng Sent: Thursday, September 16, 2021 10:31 PM To: instructure/canvas-lms Cc: lekhachiep-ADT; Comment Subject: Re: [instructure/canvas-lms] How do I add a new language to Canvas?(#1314)
sorry, I donot say very clearly, I mean that "help" in the menu bar how to get it.like this picture:
At 2021-09-16 22:26:34, "lekhachiep-ADT" @.***> wrote:
I donot understand your question clearly. I guest that you are talking about “help” link in home page, see https://prnt.sc/1sfv5do It is standard default home page.
Best regard,
David
Sent from Mail for Windows
From: Kevin Deng Sent: Thursday, September 16, 2021 8:23 PM To: instructure/canvas-lms Cc: lekhachiep-ADT; Comment Subject: Re: [instructure/canvas-lms] How do I add a new language to Canvas?(#1314)
dear all: congratulations to you add your new language for lms,but can you tell me how to get "help" for the lms platform.
thank you very much.
At 2021-09-15 23:23:37, "lekhachiep-ADT" @.***> wrote:
I am very happy to add my language to Canvas. Beside this, I added advance tools: Big Blue Button (Conference), Attendance, Analytic and some very interesting ones: AI tool to covert from Word files to question bank, Proctoring. See my video: https://edunow.vn/friend/
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
I am very happy to add my language to Canvas successfully. Beside this, I added advance tools: Big Blue Button (Conference), Attendance, Analytic and some very interesting ones: AI tool to covert from Word files to question bank, Proctoring. See my video: https://edunow.vn/friend/
Hi LeKhacHiep, What AI tool u use to convert Word to Question bank?
but my canvas website dont have help:
At 2021-09-16 23:35:18, "lekhachiep-ADT" @.***> wrote:
You want to have help link in home page lick this: https://prnt.sc/1sfv5do It is standard design after you installed Canvas. Let me see your Canvas website
David
Sent from Mail for Windows
From: Kevin Deng Sent: Thursday, September 16, 2021 10:31 PM To: instructure/canvas-lms Cc: lekhachiep-ADT; Comment Subject: Re: [instructure/canvas-lms] How do I add a new language to Canvas?(#1314)
sorry, I donot say very clearly, I mean that "help" in the menu bar how to get it.like this picture:
At 2021-09-16 22:26:34, "lekhachiep-ADT" @.***> wrote:
I donot understand your question clearly. I guest that you are talking about “help” link in home page, see https://prnt.sc/1sfv5do It is standard default home page.
Best regard,
David
Sent from Mail for Windows
From: Kevin Deng Sent: Thursday, September 16, 2021 8:23 PM To: instructure/canvas-lms Cc: lekhachiep-ADT; Comment Subject: Re: [instructure/canvas-lms] How do I add a new language to Canvas?(#1314)
dear all: congratulations to you add your new language for lms,but can you tell me how to get "help" for the lms platform.
thank you very much.
At 2021-09-15 23:23:37, "lekhachiep-ADT" @.***> wrote:
I am very happy to add my language to Canvas. Beside this, I added advance tools: Big Blue Button (Conference), Attendance, Analytic and some very interesting ones: AI tool to covert from Word files to question bank, Proctoring. See my video: https://edunow.vn/friend/
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
but my canvas website dont have help: At 2021-09-16 23:35:18, "lekhachiep-ADT" @.> wrote: You want to have help link in home page lick this: https://prnt.sc/1sfv5do It is standard design after you installed Canvas. Let me see your Canvas website David Sent from Mail for Windows From: Kevin Deng Sent: Thursday, September 16, 2021 10:31 PM To: instructure/canvas-lms Cc: lekhachiep-ADT; Comment Subject: Re: [instructure/canvas-lms] How do I add a new language to Canvas?(#1314) sorry, I donot say very clearly, I mean that "help" in the menu bar how to get it.like this picture: At 2021-09-16 22:26:34, "lekhachiep-ADT" @.> wrote: I donot understand your question clearly. I guest that you are talking about “help” link in home page, see https://prnt.sc/1sfv5do It is standard default home page. Best regard, David Sent from Mail for Windows From: Kevin Deng Sent: Thursday, September 16, 2021 8:23 PM To: instructure/canvas-lms Cc: lekhachiep-ADT; Comment Subject: Re: [instructure/canvas-lms] How do I add a new language to Canvas?(#1314) dear all: congratulations to you add your new language for lms,but can you tell me how to get "help" for the lms platform. thank you very much. At 2021-09-15 23:23:37, "lekhachiep-ADT" @.***> wrote: I am very happy to add my language to Canvas. Beside this, I added advance tools: Big Blue Button (Conference), Attendance, Analytic and some very interesting ones: AI tool to covert from Word files to question bank, Proctoring. See my video: https://edunow.vn/friend/ — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
Please upgrade new version code
Let me know about you. You are Canvas developer? What is your country? If you are working for any school, pls. advise school name and Canvas LMS link
Sent from Mail for Windows
From: Dr. Bravestone Sent: Thursday, September 16, 2021 10:39 PM To: instructure/canvas-lms Cc: lekhachiep-ADT; Comment Subject: Re: [instructure/canvas-lms] How do I add a new language to Canvas?(#1314)
I am very happy to add my language to Canvas successfully. Beside this, I added advance tools: Big Blue Button (Conference), Attendance, Analytic and some very interesting ones: AI tool to covert from Word files to question bank, Proctoring. See my video: https://edunow.vn/friend/ Hi LeKhacHiep, What AI tool u use to convert Word to Question bank? — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
Let me know about you. You are Canvas developer? What is your country? If you are working for any school, pls. advise school name and Canvas LMS link Sent from Mail for Windows From: Dr. Bravestone Sent: Thursday, September 16, 2021 10:39 PM To: instructure/canvas-lms Cc: lekhachiep-ADT; Comment Subject: Re: [instructure/canvas-lms] How do I add a new language to Canvas?(#1314) I am very happy to add my language to Canvas successfully. Beside this, I added advance tools: Big Blue Button (Conference), Attendance, Analytic and some very interesting ones: AI tool to covert from Word files to question bank, Proctoring. See my video: https://edunow.vn/friend/ Hi LeKhacHiep, What AI tool u use to convert Word to Question bank? — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
I'm Vietnamese like u :)))
If you are school and want to build Canvas LMS
Pls. advise your school name then I will arrange a meeting to you.
David
Sent from Mail for Windows
From: Dr. Bravestone Sent: Thursday, September 16, 2021 10:53 PM To: instructure/canvas-lms Cc: lekhachiep-ADT; Comment Subject: Re: [instructure/canvas-lms] How do I add a new language to Canvas?(#1314)
Let me know about you. You are Canvas developer? What is your country? If you are working for any school, pls. advise school name and Canvas LMS link Sent from Mail for Windows From: Dr. Bravestone Sent: Thursday, September 16, 2021 10:39 PM To: instructure/canvas-lms Cc: lekhachiep-ADT; Comment Subject: Re: [instructure/canvas-lms] How do I add a new language to Canvas?(#1314) I am very happy to add my language to Canvas successfully. Beside this, I added advance tools: Big Blue Button (Conference), Attendance, Analytic and some very interesting ones: AI tool to covert from Word files to question bank, Proctoring. See my video: https://edunow.vn/friend/ Hi LeKhacHiep, What AI tool u use to convert Word to Question bank? — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. I'm Vietnamese like u :))) — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
If you are school and want to build Canvas LMS 1. Install Canvas with standard figure 2. Add more tools: Attendance, Analytic 3. Add Vietnamese/any language to Canvas 4. Add tool to convert word to question bank 5. Add proctoring service to LMS. Pls. advise your school name then I will arrange a meeting to you. David Sent from Mail for Windows From: Dr. Bravestone Sent: Thursday, September 16, 2021 10:53 PM To: instructure/canvas-lms Cc: lekhachiep-ADT; Comment Subject: Re: [instructure/canvas-lms] How do I add a new language to Canvas?(#1314) Let me know about you. You are Canvas developer? What is your country? If you are working for any school, pls. advise school name and Canvas LMS link Sent from Mail for Windows From: Dr. Bravestone Sent: Thursday, September 16, 2021 10:39 PM To: instructure/canvas-lms Cc: lekhachiep-ADT; Comment Subject: Re: [instructure/canvas-lms] How do I add a new language to Canvas?(#1314) I am very happy to add my language to Canvas successfully. Beside this, I added advance tools: Big Blue Button (Conference), Attendance, Analytic and some very interesting ones: AI tool to covert from Word files to question bank, Proctoring. See my video: https://edunow.vn/friend/ Hi LeKhacHiep, What AI tool u use to convert Word to Question bank? — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. I'm Vietnamese like u :))) — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
sorry but I only want to know what AI tool u use to convert doc to question bank. This is your development tool or opensource. If opensource, please share with me
How do I add a new language to Canvas? E.g I want to add 'Hindi' as a language