     }
     
     /// Here we change text with key replacement
-    public func localize() {
+    @objc public func localize() {
         for index in 0...(self.numberOfSegments - 1) {
             if let title = self.titleForSegment(at: index), !title.isEmpty {
                 self.setTitle(title.localize(), forSegmentAt: index)

    }
    
    /// Here we change text with key replacement
    public func localize() {
        if self.localizeKey != nil {
            for state in [UIControlState.normal, .highlighted, .selected, .disabled] {
                if let title = title(for: state) , !title.isEmpty {

    }
    
    /// Here we change text with key replacement
    @objc public func localize() {
        self.localizePlaceholderFN()
        self.localizeTextFN()
    }
