i18n:merge-back-csv-bundle
Full name:
org.nuiton.i18n:i18n-maven-plugin:4.1:merge-back-csv-bundle
Description:
To merge back from a csv bundle to a module i18n bundle files.
Created on 7/26/14.
Attributes:
- Requires a Maven project to be executed.
- Requires dependency resolution of artifacts in scope:
runtime
. - The goal is not marked as thread-safe and thus does not support parallel builds.
- Since version:
3.3
. - Binds by default to the lifecycle phase:
generate-resources
.
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
<bundleCsvFile> |
File |
3.3 |
Location of the csv file to split. User property is: i18n.bundleCsvFile . |
<bundles> |
String |
3.3 |
Locales to treate, separated by comma. Example :
fr_FR,en_GB Default value is: fr_FR,en_GB .User property is: i18n.bundles . |
<encoding> |
String |
3.3 |
Encoding used to load and store properties. Default value is: ${project.build.sourceEncoding} .User property is: i18n.encoding . |
<src> |
File |
3.3 |
Directory where to find project i18n files. Default value is: ${project.basedir}/src/main/resources/i18n .User property is: i18n.src . |
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<bundleCsvSeparator> |
char |
3.3 |
Char separator in the csv bundle file. Default value is: .User property is: i18n.bundleCsvSeparator . |
<mergeNewKeys> |
boolean |
3.3 |
To accept to add new keys in the original i18n bundle. The option
is false by default, since merging operation should
not add any new keys.Default value is: false .User property is: i18n.mergeNewKeys . |
<silent> |
boolean |
1.0.0-rc-5 |
Silent flag to see only errors in console. Default value is: false .User property is: i18n.silent . |
<verbose> |
boolean |
3.3 |
Verbose flag. Note : if not setted, we used the
maven.verbose property.Default value is: ${maven.verbose} .User property is: i18n.verbose . |
Parameter Details
<bundleCsvFile>
Location of the csv file to split.
- Type:
java.io.File
- Since:
3.3
- Required:
Yes
- User Property:
i18n.bundleCsvFile
<bundleCsvSeparator>
Char separator in the csv bundle file.
- Type:
char
- Since:
3.3
- Required:
No
- User Property:
i18n.bundleCsvSeparator
- Default:
<bundles>
Locales to treate, separated by comma. Example :
fr_FR,en_GB
- Type:
java.lang.String
- Since:
3.3
- Required:
Yes
- User Property:
i18n.bundles
- Default:
fr_FR,en_GB
<encoding>
Encoding used to load and store properties.
- Type:
java.lang.String
- Since:
3.3
- Required:
Yes
- User Property:
i18n.encoding
- Default:
${project.build.sourceEncoding}
<mergeNewKeys>
To accept to add new keys in the original i18n bundle. The option
is
false
by default, since merging operation should
not add any new keys.- Type:
boolean
- Since:
3.3
- Required:
No
- User Property:
i18n.mergeNewKeys
- Default:
false
<silent>
Silent flag to see only errors in console.
- Type:
boolean
- Since:
1.0.0-rc-5
- Required:
No
- User Property:
i18n.silent
- Default:
false
<src>
Directory where to find project i18n files.
- Type:
java.io.File
- Since:
3.3
- Required:
Yes
- User Property:
i18n.src
- Default:
${project.basedir}/src/main/resources/i18n
<verbose>
Verbose flag. Note : if not setted, we used the
maven.verbose
property.- Type:
boolean
- Since:
3.3
- Required:
No
- User Property:
i18n.verbose
- Default:
${maven.verbose}