final function translate_string($string_value, $string_name, $package)
 {
     $package = new WPML_Package($package);
     $result = $string_value;
     if ($package) {
         $sanitized_string_name = $package->sanitize_string_name($string_name);
         $result = $package->translate_string($string_value, $sanitized_string_name);
     }
     return $result;
 }