toYaml()); $conf = Spyc::YAMLLoad($savedConfig); } $PlanetConfig = new PlanetConfig($conf); $Planet = new Planet($PlanetConfig); } $l10n = new Simplel10n($conf['locale']); // this is an helper function. We will usually use that function and not Simplel10n::getString() function _g($str, $comment='') { return Simplel10n::getString($str); }