$ godoc -http:=6060
$ ./run.sh
- Install Go
- Install ArangoDB
- Install fresh, i18n (see below) and kails
- ArangoDB - multi-paradigm database
##Librerias
- martini
- aranGO
Provee compleciones inteligentes (para LightTable o Vim o sublime)
Compilacion automatica cuando detecta cambios en los archivos go o en los templates. (go get github.com/pilu/fresh)
####Installation:
$ go get -u github.com/nicksnyder/go-i18n/i18n
$ go get -u github.com/nicksnyder/go-i18n/goi18n
- Create the translation files in the respective language folder under translations/. Example:
[
{
"id": "d_days",
"translation": {
"one": "{{.Count}} day",
"other": "{{.Count}} days"
}
},
{
"id": "my_height_in_meters",
"translation": {
"one": "I am {{.Count}} meter tall.",
"other": "I am {{.Count}} meters tall."
}
},
{
"id": "person_greeting",
"translation": "Hello {{.Person}}"
}
]
- Compile the different translation files into one translation file per language under the translations/all directory.
- Execute the next command while in the
translations
directory
- Execute the next command while in the
$ goi18n -outdir all/ {english,spanish}/*.json
- Use the strings in the templates, examples:
{{T "program_greeting"}}
{{T "your_unread_email_count" 1}}