-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
43 lines (38 loc) · 1.13 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Check Properties Maven Mojo
The checklocale plugin is used to check if localizations stored in properties files stored in folders contain the same keys and no
duplicate exist.
Given a set of folders, subfolders are scanned to extract the keys.
The expected folder structure is as follows:
localizations
|
|
+--en_US
| |
| + strings.properties
| + errors.properties
|
+--it_IT
|
+ strings.properties
+ errors.properties
Files with the same name will be compared in en_US and it_IT subfolders.
The goal is checklocale and a sample usage is outlined here:
<plugin>
<groupId>io.github.lbellonda </groupId>
<artifactId>checklocale</artifactId>
<version>CURRENT_VERSION</version>
<executions>
<execution>
<id>one</id>
<goals>
<goal>checklocale</goal>
</goals>
<configuration>
<encoding>UTF-8</encoding>
<directories>
<directory>src/main/resources/locale</directory>
</directories>
</configuration>
</execution>
</executions>
</plugin>