{
var $lang = 'en';
- function get($lang)
+ function get($lang = '', $opts = array())
{
if(!empty($lang)){
$this->lang = $lang;
}
- print_R('run??');exit;
- $this->getTranslationsCache();
+ $projects = array();
+
+ foreach ($this->modules() as $m){
+ $projects[] = "Pman.{$m}";
+ }
+
+ $this->getTranslationsCache($projects);
exit;
}
$this->cachePath = session_save_path() . '/' .
$ui['name'] . '-' . $ff->project . '-templatestr/' .
- $ff->project . '-' . $ff->version . '.fulloutput.json';
+ $ff->project . '-' . $ff->version . '-' . $this->lang . '.fulloutput.json';
$is_new = false;