UNPKG

hightech

Version:

A framework for building skills/applications for bleeding edge tech devices

28 lines (24 loc) 501 B
const Locator = require('./../locator'); module.exports = class LangLocator extends Locator { constructor(baseName, pathOptions) { super(baseName, pathOptions); } get defaultPathOptions() { return { assetDir: 'locales', targetDir: this.defaultTargetDirectory, extPrefix: this.defaultTemplatePrefix }; } /** * English first application * @return String */ get defaultTargetDirectory() { return 'en_GB'; // TODO: Read from config } }