summaryrefslogtreecommitdiffstats
path: root/utils/i18n.go
Commit message (Collapse)AuthorAgeFilesLines
* PLT-6471 Properly panic when translations can't be loaded (#6414)Harrison Healey2017-05-231-11/+29
| | | | | | | | | | * PLT-6471 Properly panic when translations can't be loaded * Print usage messages when errors occur during CLI initialization * Reverted behaviour of FindDir and added second return value to it * Fixed merge conflict
* PLT-6322 log error messages in english (#6234)Corey Hulen2017-04-281-0/+2
|
* PLT-5548 Prevent server start if defaultLocate is not available (#5532)enahum2017-02-281-0/+4
| | | | | | * PLT-5548 Prevent server start if defaultLocate is not available * Add validation for supported locales
* PLT-3456 Fix Errors while starting the server (#3445)enahum2016-07-041-3/+8
| | | | | | * PLT-3456 AppErrors that are triggered before translations are loaded crash server or produce bad error messages. * Fixing tests
* PLT-1800 Load server side locale from the config.json (#3202)enahum2016-06-021-12/+19
| | | | | | | | | | | | * PLT-1800 Load server side locale from the config.json * Add support for locales with country specifics * Fix localization on served locale file as plain/text * Remove github.com/cloudfoundry/jibber_jabber as vendor dependency * Fix get locale on login_controller
* Revert "PLT-1800 Load server side locale from the config.json" (#3201)Christopher Speller2016-06-011-19/+12
|
* PLT-1800 Load server side locale from the config.json (#3135)enahum2016-06-011-12/+19
| | | | | | | | | | * PLT-1800 Load server side locale from the config.json * Add support for locales with country specifics * Fix localization on served locale file as plain/text * Remove github.com/cloudfoundry/jibber_jabber as vendor dependency
* Revert "PLT-1800 Load server side locale from the config.json" (#3133)Christopher Speller2016-05-271-20/+12
|
* PLT-1800 Load server side locale from the config.json (#3092)enahum2016-05-271-12/+20
| | | | | | | | * PLT-1800 Load server side locale from the config.json * Add support for locales with country specifics * Fix localization on served locale file as plain/text
* Revert "PLT-1800 Load server side locale from the config.json (#3076)"Christopher Speller2016-05-241-20/+12
| | | | This reverts commit 34beaa569bfb32f1607375f1d5a22859322060d2.
* PLT-1800 Load server side locale from the config.json (#3076)enahum2016-05-241-12/+20
| | | | | | * PLT-1800 Load server side locale from the config.json * Add support for locales with country specifics
* PLT-2115 Adding compliance=Corey Hulen2016-03-151-1/+5
|
* Adding english fallback=Corey Hulen2016-01-281-8/+10
|
* Adding english fallback to server=Corey Hulen2016-01-281-5/+15
|
* PLT-7 adding loc header=Corey Hulen2016-01-221-1/+1
|
* PLT-7 adding loc header=Corey Hulen2016-01-221-1/+1
|
* PLT-7 adding loc header=Corey Hulen2016-01-221-76/+5
|
* Merge pull request #1952 from ZBoxApp/PLT-7-goCorey Hulen2016-01-221-0/+9
|\ | | | | PLT-7: Refactoring api to use translations (chunk 2)
| * Refactoring api to use translations (chunk 2)Elias Nahum2016-01-221-0/+9
| | | | | | | | | | | | - Add spanish translations - Does not include tests - Add func to get the translations for a user locale
* | PLT-7 client side infra=Corey Hulen2016-01-211-9/+9
|/
* Fix bug to load the default locale if no system locale is foundElias Nahum2016-01-211-17/+6
|
* Refactoring api to use translations (chunk 1)Elias Nahum2016-01-211-1/+13
| | | | | | | | - Add spanish translations - Files in order by name from admin to export - Does not include api templates and tests - Fix web_test to load translations - Fix i18n to fallback to DEFAULT_LOCALE if no system locale found
* PLT-7 Adding translation function to context=Corey Hulen2016-01-191-0/+140