         writer.writeRequiredExtensions()
 
         // Generate actual localization structures
-        writer.writeMarkWithName(name: "Localizations")
-        let bundle = TemplateFactory.templateForSwiftStaticVarBundle(contentLevel: 1)
+        let name = "Localizations"
+        writer.writeMarkWithName(name: name)
+        let bundle = TemplateFactory.templateForSwiftStaticVarBundle(name: name, contentLevel: 1)
         let content = bundle + "\n" + self.codifySwift(expandedStructure: self.objectStructure)
         writer.writeCodeStructure(structure: self.swiftStructWithContent(content: content, structName: BASE_CLASS_NAME, contentLevel: 0))
 

    class func templateForSwiftStructWithName(name : String, content : String, contentLevel : Int) -> String {

        return "\n"
            + TemplateFactory.contentIndentForLevel(contentLevel: contentLevel) + "public struct \(name) {\n"
            + "\n"
            + "\(content)\n"
            + TemplateFactory.contentIndentForLevel(contentLevel: contentLevel) + "}"

            + TemplateFactory.contentIndentForLevel(contentLevel: contentLevel) + "}\n"
    }

    class func templateForSwiftStaticVarBundle(name: String, contentLevel: Int) -> String {
        let indent = TemplateFactory.contentIndentForLevel(contentLevel: contentLevel)
        return indent + "/// Bundle for transilation\n"
            + indent + "public static var bundle: Bundle = Bundle(for: \(name).self)\n"
    }
    // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
    // MARK: - Public - ObjC templates
