Using the maven plugin configured as shown bellow:
And using this config file (zanata.xml):
My project file structure is like this:
src/main/resources/conf/i18n/sourcefile_es.properties <- example source file
src/main/resources/conf/i18n/exampletargetfile_pt.properties <- example target file
The targets (translations) aren't recognized because the filename always contains the source locale. Using "both" pushType, translations are never uploaded
I think that the problem is in this line https://github.com/zanata/zanata-platform/blob/c8173883718b857ff04249ee7fc843c32a173170/client/zanata-client-commands/src/main/java/org/zanata/client/commands/FileMappingRuleHandler.java#L134 because only removes the extension to build the filename placeholder/variable.