The Import Framework defines a set of interfaces and handlers that allow importing content into the BI-SERVER JCR repository from the file system based on mime types. Content can be imported individually (one file at the time) or in a bulk (zip archive). The import framework is located at the "pentaho-platform-extensions" (https://github.com/pentaho/pentaho-platform/tree/master/extensions) project in the "org.pentaho.platform.plugin.services.importer" package
...
LocaleImportHandler (mime type: text/locale)
Import handler for locale property files. This handler identifies which property file qualifies as a locale and stores the name and/or description as nodes in JCR for the corresponding file that the localization belongs to. The JCR storage is performed by using the IUnifiedRepository.setLocalePropertiesForFile(RepositoryFile, String, Properties). The logic to identify a potential locale file is by parsing the file and making sure that it contains only name, title and/or description.