Added string escaping for single quotes
Added feature to replace missing or empty strings with the default language