Translate chinese (#210)
Signed-off-by: Emruz Hossain <emruz@appscode.com>
This commit is contained in:
parent
20d9f3a080
commit
211db5b2c2
10 changed files with 100 additions and 10 deletions
|
@ -32,6 +32,7 @@ For more details about the features please visit [here](https://toha-guides.netl
|
||||||
- Indonesian
|
- Indonesian
|
||||||
- Deutsch
|
- Deutsch
|
||||||
- Spanish
|
- Spanish
|
||||||
|
- 简体中文
|
||||||
|
|
||||||
To know more about how to translate your site, please visit [here](https://toha-guides.netlify.app/posts/translation/). Follow, the data and post format from this [example site](https://hugo-toha.github.io).
|
To know more about how to translate your site, please visit [here](https://toha-guides.netlify.app/posts/translation/). Follow, the data and post format from this [example site](https://hugo-toha.github.io).
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ section:
|
||||||
name: 成就
|
name: 成就
|
||||||
id: achievements
|
id: achievements
|
||||||
enable: true
|
enable: true
|
||||||
weight: 6
|
weight: 7
|
||||||
showOnNavbar: true
|
showOnNavbar: true
|
||||||
# Can optionally hide the title in sections
|
# Can optionally hide the title in sections
|
||||||
# hideTitle: true
|
# hideTitle: true
|
||||||
|
|
89
exampleSite/data/cn/sections/education.yaml
Normal file
89
exampleSite/data/cn/sections/education.yaml
Normal file
|
@ -0,0 +1,89 @@
|
||||||
|
# section information
|
||||||
|
section:
|
||||||
|
name: 学历
|
||||||
|
id: education
|
||||||
|
template: sections/education.html # Use "sections/education-alt.html for alternate template.
|
||||||
|
enable: true
|
||||||
|
weight: 4
|
||||||
|
showOnNavbar: true
|
||||||
|
# Can optionally hide the title in sections
|
||||||
|
# hideTitle: true
|
||||||
|
|
||||||
|
degrees:
|
||||||
|
- name: Ph.D in Quantum Cryptography
|
||||||
|
icon: fa-microscope
|
||||||
|
timeframe: 2016-2020
|
||||||
|
institution:
|
||||||
|
name: ABC University of Technology
|
||||||
|
url: "#"
|
||||||
|
grade: #(optional)
|
||||||
|
scale: CGPA
|
||||||
|
achieved: 3.6
|
||||||
|
outOf: 4
|
||||||
|
publications: #(optional)
|
||||||
|
- title: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
||||||
|
url: "#"
|
||||||
|
- title: Fusce eu augue ut odio porttitor pulvinar.
|
||||||
|
url: "#"
|
||||||
|
- title: Nullam vitae orci tincidunt purus viverra pulvinar.
|
||||||
|
url: "#"
|
||||||
|
- name: B.Sc. in Computer Science & Engineering
|
||||||
|
icon: fa-graduation-cap
|
||||||
|
timeframe: 2012-2016
|
||||||
|
institution:
|
||||||
|
name: University of XYZ
|
||||||
|
url: "#"
|
||||||
|
grade: #(optional)
|
||||||
|
scale: CGPA
|
||||||
|
achieved: 3.5
|
||||||
|
outOf: 4
|
||||||
|
takenCourses: #(optional)
|
||||||
|
# if true, the courses will be rendered as a table otherwise it will render as a list and the grades will be hidden.
|
||||||
|
showGrades: true
|
||||||
|
courses:
|
||||||
|
- name: Data Structures and Algorithm
|
||||||
|
achieved: 3.75
|
||||||
|
outOf: 4
|
||||||
|
- name: Network Security
|
||||||
|
achieved: 3.80
|
||||||
|
outOf: 4
|
||||||
|
- name: Operating System
|
||||||
|
achieved: 3.5
|
||||||
|
outOf: 4
|
||||||
|
- name: Artificial Intelligent
|
||||||
|
achieved: 3.75
|
||||||
|
outOf: 4
|
||||||
|
publications: #(optional)
|
||||||
|
- title: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
||||||
|
url: "#"
|
||||||
|
- title: Fusce eu augue ut odio porttitor pulvinar.
|
||||||
|
url: "#"
|
||||||
|
extracurricularActivities: #(optional)
|
||||||
|
- In vitae facilisis est, eget porta sem.
|
||||||
|
- Vestibulum consectetur lorem justo, at laoreet lorem feugiat et.
|
||||||
|
- Duis sed massa feugiat, ornare justo et, aliquam est.
|
||||||
|
- Pellentesque ut fringilla magna.
|
||||||
|
- name: Higher Secondary School Certificate
|
||||||
|
icon: fa-university
|
||||||
|
timeframe: 2010-2012
|
||||||
|
institution:
|
||||||
|
name: MST College of Science
|
||||||
|
url: "#"
|
||||||
|
grade: #(optional)
|
||||||
|
scale: GPA
|
||||||
|
achieved: 5
|
||||||
|
outOf: 5
|
||||||
|
extracurricularActivities: #(optional)
|
||||||
|
- In vitae facilisis est, eget porta sem.
|
||||||
|
- Vestibulum consectetur lorem justo, at laoreet lorem feugiat et.
|
||||||
|
- Duis sed massa feugiat, ornare justo et, aliquam est.
|
||||||
|
- Pellentesque ut fringilla magna.
|
||||||
|
- name: Secondary School Certificate
|
||||||
|
icon: fa-school
|
||||||
|
timeframe: 2005-2010
|
||||||
|
institution:
|
||||||
|
name: JK School of Science
|
||||||
|
grade: #(optional)
|
||||||
|
scale: GPA
|
||||||
|
achieved: 4.5
|
||||||
|
outOf: 5
|
|
@ -3,7 +3,7 @@ section:
|
||||||
name: 项目
|
name: 项目
|
||||||
id: projects
|
id: projects
|
||||||
enable: true
|
enable: true
|
||||||
weight: 4
|
weight:5
|
||||||
showOnNavbar: true
|
showOnNavbar: true
|
||||||
# Can optionally hide the title in sections
|
# Can optionally hide the title in sections
|
||||||
# hideTitle: true
|
# hideTitle: true
|
||||||
|
|
|
@ -3,7 +3,7 @@ section:
|
||||||
name: 最近文章
|
name: 最近文章
|
||||||
id: recent-posts
|
id: recent-posts
|
||||||
enable: true
|
enable: true
|
||||||
weight: 5
|
weight: 6
|
||||||
showOnNavbar: true
|
showOnNavbar: true
|
||||||
# Can optionally hide the title in sections
|
# Can optionally hide the title in sections
|
||||||
# hideTitle: true
|
# hideTitle: true
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Copyright Notice
|
# Copyright Notice
|
||||||
copyright: © 2008 - 2020 Copyright.
|
copyright: © 2008 - 2021 Copyright.
|
||||||
|
|
||||||
# Meta description for your site. This will help the search engines to find your site.
|
# Meta description for your site. This will help the search engines to find your site.
|
||||||
description: Portfolio and personal blog of John Doe.
|
description: Portfolio and personal blog of John Doe.
|
||||||
|
|
|
@ -3,7 +3,7 @@ section:
|
||||||
name: Achievements
|
name: Achievements
|
||||||
id: achievements
|
id: achievements
|
||||||
enable: true
|
enable: true
|
||||||
weight: 6
|
weight: 7
|
||||||
showOnNavbar: true
|
showOnNavbar: true
|
||||||
# Can optionally hide the title in sections
|
# Can optionally hide the title in sections
|
||||||
# hideTitle: true
|
# hideTitle: true
|
||||||
|
|
|
@ -3,7 +3,7 @@ section:
|
||||||
name: Projects
|
name: Projects
|
||||||
id: projects
|
id: projects
|
||||||
enable: true
|
enable: true
|
||||||
weight: 4
|
weight: 5
|
||||||
showOnNavbar: true
|
showOnNavbar: true
|
||||||
# Can optionally hide the title in sections
|
# Can optionally hide the title in sections
|
||||||
# hideTitle: true
|
# hideTitle: true
|
||||||
|
|
|
@ -3,7 +3,7 @@ section:
|
||||||
name: Recent Posts
|
name: Recent Posts
|
||||||
id: recent-posts
|
id: recent-posts
|
||||||
enable: true
|
enable: true
|
||||||
weight: 5
|
weight: 6
|
||||||
showOnNavbar: true
|
showOnNavbar: true
|
||||||
# Can optionally hide the title in sections
|
# Can optionally hide the title in sections
|
||||||
# hideTitle: true
|
# hideTitle: true
|
||||||
|
|
|
@ -51,7 +51,7 @@ other = "下一篇"
|
||||||
other = "改善此页面"
|
other = "改善此页面"
|
||||||
|
|
||||||
[out_of]
|
[out_of]
|
||||||
other = "之"
|
other = "/"
|
||||||
|
|
||||||
[publications]
|
[publications]
|
||||||
other = "刊物"
|
other = "刊物"
|
||||||
|
@ -63,10 +63,10 @@ other = "选修课程"
|
||||||
other = "课程名"
|
other = "课程名"
|
||||||
|
|
||||||
[total_credit]
|
[total_credit]
|
||||||
other = "总信用"
|
other = "满分"
|
||||||
|
|
||||||
[obtained_credit]
|
[obtained_credit]
|
||||||
other = "获得信贷"
|
other = "获得分数"
|
||||||
|
|
||||||
[extracurricular_activities]
|
[extracurricular_activities]
|
||||||
other = "课外活动"
|
other = "课外活动"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue