Hi I made an implementation of locale asset converter utility to generate <locale>.zip files on resources/locales/ directory from map_features.xml and map_features/*.xml by replacing names with localized one. https://github.com/miurahr/potlatch2/commits/i18n-features
You can see properties files in l10n/locale/<lang>/map_features.properties You need to add flash parameter such as args["assets"] = "locales/ja_JP.zip" to get localized version. I've also asked to pull it. https://github.com/systemed/potlatch2/pull/86 i18n: introduce MapFeturesConverter It introduce java utility to generate localized *.xml from map_features/*xml and properties i18n: map_features.properties, id attribute The utility use id attribute to find replacing block. build.xml: increase mxmlc jvm memory It is needed for my environment. If you like, pls. accept it. update japanese translate for features Here is localization part. For PoC. Hiroshi Hiroshi Miura (4): i18n: introduce MapFeturesConverter i18n: map_features.properties, id attribute build.xml: increase mxmlc jvm memory update japanese translate for features build.properties.template | 2 + build.xml | 96 +- l10n/locale/en_US/map_features.properties | 1397 +++++++++++++++++++++++++++ l10n/locale/ja_JP/map_features.properties | 47 + resources/map_features.xml | 14 +- resources/map_features/amenities.xml | 64 +- resources/map_features/barriers.xml | 65 +- resources/map_features/buildings.xml | 26 +- resources/map_features/landuse.xml | 54 +- resources/map_features/man_made.xml | 6 +- resources/map_features/paths.xml | 22 +- resources/map_features/places.xml | 22 +- resources/map_features/power.xml | 16 +- resources/map_features/roads.xml | 92 +- resources/map_features/shopping.xml | 54 +- resources/map_features/tourism.xml | 48 +- resources/map_features/transport.xml | 68 +- resources/map_features/water.xml | 30 +- utils/jp/osmf/mfc/MapFeaturesConverter.java | 85 ++ utils/jp/osmf/mfc/MapFeaturesFilter.java | 193 ++++ 20 files changed, 2104 insertions(+), 297 deletions(-) create mode 100644 l10n/locale/en_US/map_features.properties create mode 100644 l10n/locale/ja_JP/map_features.properties create mode 100644 utils/jp/osmf/mfc/MapFeaturesConverter.java create mode 100644 utils/jp/osmf/mfc/MapFeaturesFilter.java -- 1.7.9.5 _______________________________________________ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev