*/
public List<StringKeyStringValueDto> doGetLocaleProperties( String pathId, String locale ) {
RepositoryFileDto file = getRepoWs().getFile( idToPath( pathId ) );
List<StringKeyStringValueDto> keyValueList = new ArrayList<StringKeyStringValueDto>();
if ( file != null ) {
PropertiesWrapper propertiesWrapper = getRepoWs().getLocalePropertiesForFileById( file.getId(), locale );
if ( propertiesWrapper != null ) {
Properties properties = propertiesWrapper.getProperties();
if ( properties != null && !properties.isEmpty() ) {
for ( String key : properties.stringPropertyNames() ) {
keyValueList.add( getStringKeyStringValueDto( key, properties.getProperty( key ) ) );
}
}