-
Notifications
You must be signed in to change notification settings - Fork 72
i18n
Hiroko Takamiya edited this page Jan 30, 2023
·
13 revisions
- If this is not your first time here, go to the next step. Otherwise run command
git clone [email protected]:OpenLiberty/blogs.git
on your machine. -
cd
on your local machine to theblogs
directory created bygit clone
git checkout prod
-
git checkout -b <name-of-your-branch>
to create a new feature branch - Is there an existing directory for the language in under
<your_root_directory>/blogs/tree/prod/posts
?- If yes, continue to next step.
- If no, create a new directory named after the language's code in the
/posts
directory.
- Place the
adoc
file into the new/existing language directory. - Is the new post a translation of an existing post?
- If no, continue to next step.
- If yes, please include the attribute
blog-available-in-languages
in themd
file's front matter.- The front matter is the key-value pairs found between the two
---
lines. Here is an example of how to useblog-available-in-languages
attribute (https://raw.githubusercontent.com/OpenLiberty/blogs/prod/posts/ja/2022-10-29-22.0.0.10.adoc). - If there is a desire to give credit to the translator, please the translators name in the new post.
- Please make your
adoc
file similar to the existing post that is being translated. Date can be different. File format isYYYY-MM-DD-postname
. Here are two files that are the same content in different languages and different date.
- The front matter is the key-value pairs found between the two
- Open a pull request from your feature branch that is targeting
draft
branch and Set the reviewer to Kin Ueng (@kinueng)