iOS localized string specifies the parameter order (application scenario: multi-language switching in the app)

Preface

Regarding the difference between Chinese and English grammar, when localizing strings, we often need to adjust the parameter order of stringWithFormat

  • Principle: Add 数值$( 1$,2$) between% and @ , the number represents the order of the parameters

I. Examples

    self.FORMATLab.text =   [NSString stringWithFormat:KNLocal(

Guess you like

Origin blog.csdn.net/u011018979/article/details/108793150