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

Add initial i18n support #62

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,31 @@ const config = {
organizationName: 'Open Education Hub', // Usually your GitHub org/user name.
projectName: 'open-education-hub-website', // Usually your repo name.

i18n: {
defaultLocale: 'en',
locales: ['en', 'ro'],
localeConfigs: {
en: {
label: 'English',
},
ro: {
label: 'Română',
},
},
},

presets: [
[
'classic',
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl: 'https://github.com/open-education-hub/open-education-hub-site/website/',
editUrl: 'https://github.com/open-education-hub/open-education-hub-site/tree/main/website/',
editLocalizedFiles: true,
},
blog: {
editLocalizedFiles: true,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
Expand Down Expand Up @@ -64,6 +81,10 @@ const config = {
label: 'Blog',
position: 'left',
},
{
type: 'localeDropdown',
position: 'right',
},
{
href: 'https://github.com/open-education-hub/open-education-hub-site/',
label: 'Repository',
Expand Down
198 changes: 198 additions & 0 deletions website/i18n/ro/code.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,198 @@
{
"theme.ErrorPageContent.title": {
"message": "This page crashed.",
"description": "The title of the fallback page when the page crashed"
},
"theme.ErrorPageContent.tryAgain": {
"message": "Try again",
"description": "The label of the button to try again when the page crashed"
},
"theme.NotFound.title": {
"message": "Page Not Found",
"description": "The title of the 404 page"
},
"theme.NotFound.p1": {
"message": "We could not find what you were looking for.",
"description": "The first paragraph of the 404 page"
},
"theme.NotFound.p2": {
"message": "Please contact the owner of the site that linked you to the original URL and let them know their link is broken.",
"description": "The 2nd paragraph of the 404 page"
},
"theme.AnnouncementBar.closeButtonAriaLabel": {
"message": "Close",
"description": "The ARIA label for close button of announcement bar"
},
"theme.BackToTopButton.buttonAriaLabel": {
"message": "Scroll back to top",
"description": "The ARIA label for the back to top button"
},
"theme.blog.archive.title": {
"message": "Archive",
"description": "The page & hero title of the blog archive page"
},
"theme.blog.archive.description": {
"message": "Archive",
"description": "The page & hero description of the blog archive page"
},
"theme.blog.paginator.navAriaLabel": {
"message": "Blog list page navigation",
"description": "The ARIA label for the blog pagination"
},
"theme.blog.paginator.newerEntries": {
"message": "Newer Entries",
"description": "The label used to navigate to the newer blog posts page (previous page)"
},
"theme.blog.paginator.olderEntries": {
"message": "Older Entries",
"description": "The label used to navigate to the older blog posts page (next page)"
},
"theme.blog.post.readingTime.plurals": {
"message": "One min read|{readingTime} min read",
"description": "Pluralized label for \"{readingTime} min read\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
},
"theme.blog.post.readMore": {
"message": "Read More",
"description": "The label used in blog post item excerpts to link to full blog posts"
},
"theme.blog.post.paginator.navAriaLabel": {
"message": "Blog post page navigation",
"description": "The ARIA label for the blog posts pagination"
},
"theme.blog.post.paginator.newerPost": {
"message": "Newer Post",
"description": "The blog post button label to navigate to the newer/previous post"
},
"theme.blog.post.paginator.olderPost": {
"message": "Older Post",
"description": "The blog post button label to navigate to the older/next post"
},
"theme.blog.sidebar.navAriaLabel": {
"message": "Blog recent posts navigation",
"description": "The ARIA label for recent posts in the blog sidebar"
},
"theme.blog.post.plurals": {
"message": "One post|{count} posts",
"description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
},
"theme.blog.tagTitle": {
"message": "{nPosts} tagged with \"{tagName}\"",
"description": "The title of the page for a blog tag"
},
"theme.tags.tagsPageLink": {
"message": "View All Tags",
"description": "The label of the link targeting the tag list page"
},
"theme.CodeBlock.copyButtonAriaLabel": {
"message": "Copy code to clipboard",
"description": "The ARIA label for copy code blocks button"
},
"theme.CodeBlock.copied": {
"message": "Copied",
"description": "The copied button label on code blocks"
},
"theme.CodeBlock.copy": {
"message": "Copy",
"description": "The copy button label on code blocks"
},
"theme.docs.sidebar.expandButtonTitle": {
"message": "Expand sidebar",
"description": "The ARIA label and title attribute for expand button of doc sidebar"
},
"theme.docs.sidebar.expandButtonAriaLabel": {
"message": "Expand sidebar",
"description": "The ARIA label and title attribute for expand button of doc sidebar"
},
"theme.docs.paginator.navAriaLabel": {
"message": "Docs pages navigation",
"description": "The ARIA label for the docs pagination"
},
"theme.docs.paginator.previous": {
"message": "Previous",
"description": "The label used to navigate to the previous doc"
},
"theme.docs.paginator.next": {
"message": "Next",
"description": "The label used to navigate to the next doc"
},
"theme.docs.sidebar.collapseButtonTitle": {
"message": "Collapse sidebar",
"description": "The title attribute for collapse button of doc sidebar"
},
"theme.docs.sidebar.collapseButtonAriaLabel": {
"message": "Collapse sidebar",
"description": "The title attribute for collapse button of doc sidebar"
},
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": {
"message": "Toggle the collapsible sidebar category '{label}'",
"description": "The ARIA label to toggle the collapsible sidebar category"
},
"theme.docs.tagDocListPageTitle.nDocsTagged": {
"message": "One doc tagged|{count} docs tagged",
"description": "Pluralized label for \"{count} docs tagged\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
},
"theme.docs.tagDocListPageTitle": {
"message": "{nDocsTagged} with \"{tagName}\"",
"description": "The title of the page for a docs tag"
},
"theme.docs.versions.unreleasedVersionLabel": {
"message": "This is unreleased documentation for {siteTitle} {versionLabel} version.",
"description": "The label used to tell the user that he's browsing an unreleased doc version"
},
"theme.docs.versions.unmaintainedVersionLabel": {
"message": "This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.",
"description": "The label used to tell the user that he's browsing an unmaintained doc version"
},
"theme.docs.versions.latestVersionSuggestionLabel": {
"message": "For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).",
"description": "The label used to tell the user to check the latest version"
},
"theme.docs.versions.latestVersionLinkLabel": {
"message": "latest version",
"description": "The label used for the latest version suggestion link label"
},
"theme.common.editThisPage": {
"message": "Edit this page",
"description": "The link label to edit the current page"
},
"theme.common.headingLinkTitle": {
"message": "Direct link to heading",
"description": "Title for link to heading"
},
"theme.lastUpdated.atDate": {
"message": " on {date}",
"description": "The words used to describe on which date a page has been last updated"
},
"theme.lastUpdated.byUser": {
"message": " by {user}",
"description": "The words used to describe by who the page has been last updated"
},
"theme.lastUpdated.lastUpdatedAtBy": {
"message": "Last updated{atDate}{byUser}",
"description": "The sentence used to display when a page has been last updated, and by who"
},
"theme.navbar.mobileVersionsDropdown.label": {
"message": "Versions",
"description": "The label for the navbar versions dropdown on mobile view"
},
"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": {
"message": "← Back to main menu",
"description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"
},
"theme.common.skipToMainContent": {
"message": "Skip to main content",
"description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation"
},
"theme.TOCCollapsible.toggleButtonLabel": {
"message": "On this page",
"description": "The label used by the button on the collapsible TOC component"
},
"theme.tags.tagsListLabel": {
"message": "Tags:",
"description": "The label alongside a tag list"
},
"theme.tags.tagsPageTitle": {
"message": "Tags",
"description": "The title of the tag list page"
}
}
14 changes: 14 additions & 0 deletions website/i18n/ro/docusaurus-plugin-content-blog/options.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"title": {
"message": "Blog",
"description": "The title for the blog used in SEO"
},
"description": {
"message": "Blog",
"description": "The description for the blog used in SEO"
},
"sidebar.title": {
"message": "Recent posts",
"description": "The label for the left sidebar"
}
}
30 changes: 30 additions & 0 deletions website/i18n/ro/docusaurus-plugin-content-docs/current.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"version.label": {
"message": "Next",
"description": "The label for version current"
},
"sidebar.tutorialSidebar.category.Project Description": {
"message": "Project Description",
"description": "The label for category Project Description in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.Community": {
"message": "Community",
"description": "The label for category Community in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.Events": {
"message": "Events",
"description": "The label for category Events in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.vmchecker-workshop": {
"message": "vmchecker-workshop",
"description": "The label for category vmchecker-workshop in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.Blog": {
"message": "Blog",
"description": "The label for category Blog in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.Talks": {
"message": "Talks",
"description": "The label for category Talks in sidebar tutorialSidebar"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Blog",
"position": 4
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Introduction

Here you will find written information about our activities.
Get news about our latest content, meetings, and workshops, and read papers on education from us and our peers.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Community",
"position": 2
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
title: Contributors
sidebar_position: 2
---

# Contributors

## Mihai Carabaș

<img src="/img/people/mihai_carabas.png" width="200" />

Hi!
I'm Mihai, I am part of the OpenEdu project (21-COP-0016).

I contribute to the infrastructure architecture and I supervise the infrastructure deployment project activities.
I am also engaged in reviewing the content of the Operating Systems class.

I am a Professor at University POLITEHNICA of Bucharest, Romania, the Computer Science and Engineering Department.
I am primarily interested in Operating Systems, Computer Architectures, Cluster, Cloud and Grid Computing.

## Răzvan Rughiniș

<img src="/img/people/razvan_rughinis.jpg" width="200" />

Hi!
I am Răzvan, I am a contributor to the OpenEdu Project (21-COP-0016).

I am a Professor at the Faculty of Automatic Control and Computers, University POLITEHNICA of Bucharest.
My research, teaching, and doctoral supervision focus on Cybersecurity, Privacy, and Data Science.

Since 2013, I am the co-founder and coordinator of the [Innovation Labs acceleration program](https://www.innovationlabs.ro/) for young tech teams, bringing together the Romanian academia and ICT business community to energize a vibrant startup ecosystem.

## Ioan Sacală

<img src="/img/people/ioan_sacala.png" width="200" />

Hi!
I am Ioan, I am a contributor to the OpenEdu project (21-COP-0016).

I am a Professor and Vice-Dean for International Cooperation within the Faculty of Automatic Control and Computers, University POLITEHNICA of Bucharest.
My main fields of research are Wireless Sensor Networks, Cyber-Physical Systems, Sensing Systems, Advanced Communication Systems, Internet of Things and Future Internet.
My professional experience is based on the implementation of multiple national and international research projects.

## Nicolae Țăpuș

<img src="/img/people/nicolae_tapus.jpg" width="200" />

Hi!
I am prof. Nicolae Țăpuș, I am part of the OpenEdu project (21-COP-0016).

I am Professor at the Computer Science and Engineering Department and director of the PRECIS Center.
I am an honorary member of the Romanian Academy and member of Romanian Academy of Technical Science, and President of Information Technology and Communication of Technical Science Academy Section.

My main fields of expertise are Distributed Systems, Local Area Networks, Computer Architecture and Grid Computing.
I am chair of the board of the National Center for Information Technology and I have lead multiple national and international research and infrastructure projects.
Loading
Loading