i18n icon indicating copy to clipboard operation
i18n copied to clipboard

I18n is a golang implementation, provides internationalization support for your application, with different backends support

Results 13 i18n issues
Sort by recently updated
recently updated
newest added

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...

dependencies

I have a simple pluralization like this: ``` lang/en-US.yml en-US: demo: plural: '{{p "Count" (one "{{.Count}} item") (other "{{.Count}} items")}}' ``` ``` main.go I18n := i18n.New( yaml.New("lang"), ) val :=...

Failed to create unique index for translations key & locale, got: Error 1170: BLOB/TEXT column 'key' used in key specification without a key length

quick fix for "Failed to create unique index for translations key & locale, got: Error 1170: BLOB/TEXT column 'key' used in key specification without a key length"

fix with tests for issue https://github.com/qor/i18n/issues/17

Example: ``` locales/en-US.yml en-US: demo: hi: "hello" ``` ``` locales/ru-RU.yml ru-RU: demo: hi: "привет" ``` ``` main.go package main import ( "fmt" "github.com/qor/i18n" "github.com/qor/i18n/backends/yaml" ) func main() { I18n :=...

The size is too large and an error occurs. ``` Failed to create unique index for translations key & locale, got: Error 1170: BLOB/TEXT column 'key' used in key specification...

Can i reuse existring translation? For example something like this: ``` en: greeting: Hello greetMySelf: {{.en.greeting}} me! ```