Localizable.strings causing plist parsing error

前端 未结 4 969
天涯浪人
天涯浪人 2020-12-18 20:03

I have just localized the file Localizable.strings in my Xcode project in order to localise my application to a few different languages. However, having edited each of the f

4条回答
  •  一整个雨季
    2020-12-18 20:39

    Swift 4

    make sure the one for all Apps file for Localizable.strings don't make more than one page just one

    local.string English "hi" = "hi";

    local.string Arabic "hi" = "هاي";

    using

    and put this extension in your app

    extension String {
        var localizedLized: String {
            return NSLocalizedString(self, comment: "")
        }
    }
    

提交回复
热议问题