Merge pull request #5522 from sharifelgamal/loc-doc
Add documentation for adding translationspull/5586/head
commit
4916c04ce7
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
linkTitle: "gvisor"
|
||||
title: "Releasing a gvisor image"
|
||||
linkTitle: "gVisor"
|
||||
title: "Releasing a gVisor image"
|
||||
date: 2019-09-25
|
||||
weight: 10
|
||||
---
|
||||
|
|
@ -13,7 +13,7 @@ weight: 10
|
|||
|
||||
## Background
|
||||
|
||||
gvisor support within minikube requires a special Docker image to be generated. After merging changes to `cmd/gvisor` or `pkg/gvisor`, this image will need to be updated.
|
||||
gVisor support within minikube requires a special Docker image to be generated. After merging changes to `cmd/gvisor` or `pkg/gvisor`, this image will need to be updated.
|
||||
|
||||
The image is located at `gcr.io/k8s-minikube/gvisor-addon`
|
||||
|
||||
|
|
@ -28,6 +28,6 @@ The image is located at `gcr.io/k8s-minikube/gvisor-addon`
|
|||
- Updates the containerd configuration
|
||||
- Restarts containerd and rpc-statd
|
||||
|
||||
## Updating the gvisor image
|
||||
## Updating the gVisor image
|
||||
|
||||
`make push-gvisor-addon-image`
|
||||
|
|
|
|||
|
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
title: "Translations"
|
||||
date: 2019-09-30
|
||||
weight: 3
|
||||
description: >
|
||||
How to add translations
|
||||
---
|
||||
|
||||
All translations are stored in the top-level `translations` directory.
|
||||
|
||||
### Adding Translations To an Existing Language
|
||||
* Run `make extract` to make sure all strings are up to date
|
||||
* Add translated strings to the appropriate json files in the 'translations'
|
||||
directory.
|
||||
|
||||
### Adding a New Language
|
||||
* Add a new json file with the locale code of the language you want to add
|
||||
translations for, e.g. en for English.
|
||||
* Run `make extract` to populate that file with the strings to translate in json
|
||||
form.
|
||||
* Add translations to as many strings as you'd like.
|
||||
Loading…
Reference in New Issue