Skip to content

protoc-gen/i18n-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

i18n-proto

Generate i18n files from proto files.

Install

go install github.com/protoc-gen/i18n-gen@latest
  • Install of local
go install .

Usage

i18n-gen -O ./i18n/ -P ./proto/api/**.proto -L en,ja,zh -suffix Error

Options

  • -O: Output directory
  • -P: Proto file pattern
  • -L: Languages
  • -prefix: Prefix of enum name
  • -suffix: Suffix of enum name

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages