We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be nice to have ability to map smartling to application locales like repository-connector does:
smartling
application
project.go
func resolveLocale(locales map[string]string, locale string) string { if val, ok := locales[locale]; ok { return val } return locale } func localPullFilePath(p, locales map[string]string, locale string) string { parts := FilenameParts{ Path: p, Dir: path.Dir(p), Base: path.Base(p), Ext: path.Ext(p), Locale: resolveLocale(locales, locale), } // ... }
smartling.yml
PullFilePath: '{{ .Dir }}/{{.Locale}}{{.Ext}}' Locales: en-US: en_US ru-RU: ru # etc
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It would be nice to have ability to map
smartling
toapplication
locales like repository-connector does:project.go
smartling.yml
The text was updated successfully, but these errors were encountered: