Skip to content

Idea: Help catching forgotten strings #186

@machour

Description

@machour

Hi @tricoder42 and cheers for this excellent library 🙌

What would you think about implementing some kind of debug mode in js-lingui that can be turned on/off by the developer to quickly spot the places where he forgot to use <Trans> ?

Here's what it would look like:

Normal mode Debug mode
simulator screen shot - iphone x - 2018-03-16 at 19 53 02 simulator screen shot - iphone x - 2018-03-16 at 19 56 40

This helps to see that the last string "commented on pull request" was totally forgotten while translating the application.

The number/length of xxxx would match the original string to keep the UI balance.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions