BartyCrouch icon indicating copy to clipboard operation
BartyCrouch copied to clipboard

Automatic addition of common localized Strings like "Cancel"

Open Jeehut opened this issue 5 years ago • 0 comments

BartyCrouch could provide a command to automatically add a list of common localization Strings to the Localizable.strings file for convenience. Translations would be provided for as many languages as possible. Here are some examples of such localization Strings:

Actions:

  • Cancel
  • Save
  • Retry

Messages:

  • The input data is invalid.
  • Could not connect to server. Please check your internet connection and retry.

The exact translations can be discussed, changed and updated. We could also provide different flavors, like "personal" and "formal" level flavors.

We also need to think about the key format. We should support different styles and make the prefix, casing and separator configurable, for example:

  • BARTY_CROUCH.ACTION.CANCEL (prefix: "barty_crouch", casing: uppercase-underscore, separator: dot)
  • common-action-cancel (prefix: "common", casing: lowercase-underscore, separator: dash)

Jeehut avatar Mar 21 '19 10:03 Jeehut