Skip to content

System button with default title/change in runtime not localized correctly #47

@purepure

Description

@purepure

Issue

System button with default title/change in runtime not localized correctly

Localize Environment

  • Localize version: (2.1.0)
  • Xcode version: 10.1 (10B61)
  • Swift version: 4.0
  • Platform(s) running Localize: iOS
  • macOS version running Xcode: 10.14.2 (18C54)

Localize Config

Localize.update(fileName: "Localization")
Localize.update(defaultLanguage: "en-US")
Localize.update(language: "en-VN")

What did you do?

I had a button (from storyboard) with default title is "Start Reading". In the runtime, that button can be change to "Resume chap.1" for example. It work perfect until I hit that button, the title fade to "Start Reading" instead of "Resume chap.1". The title only change when click and hold the finger on it, after releasing, it fade back to correct title "Resume..." The button I use is system type

Button type: Default system type
Default title: "Start Reading"
Runtime title: "Resume chap.1"
Click & hold button: Fade to "Start Reading"
Release button: Fade to "Resume chap.1"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions