With this feature, we can push multiple file templates with different namespaces.
An example config file would look like:
"push": {
"filesTemplate": [
{
"path": "./Sources/Resources/Resources/{languageTag}.lproj/Localizable.strings",
"namespace": "Localizable.strings"
},
{
"path": "./Sources/Resources/Resources/{languageTag}.lproj/Localizable.stringsdict",
"namespace": "Localizable.stringsdict"
},
{
"path": "./Resources/{languageTag}.lproj/InfoPlist.strings",
"namespace": "InfoPlist.strings"
}
],
"languages": ["en"],
"forceMode": "KEEP",
"tagNewKeys": ["ios"]
},
For now, we have to push multiple times seperately.
- name: push Localizable
run: tolgee push \
--files "./Sources/Resources/Resources/{languageTag}.lproj/Localizable.strings" \
--namespace Localizable
- name: push LocalizableDict
run: tolgee push \
--files "./Sources/Resources/Resources/{languageTag}.lproj/Localizable.stringsdict" \
--namespace LocalizableDict
- name: push InfoPlist
run: tolgee push \
--files "./Resources/{languageTag}.lproj/InfoPlist.strings" \
--namespace InfoPlist
With this feature, we can push multiple file templates with different namespaces.
An example config file would look like:
For now, we have to push multiple times seperately.