Skip to content

translation strings too rigid #17

Description

@dingens

I just created a german translation (PR will come). It tourned out a little difficult, because the way the translation strings are used is a little unflexible. For example, in english, one says Examined /storage/emulated/0/foo/bar, while a proper german sentence would be something like /storage/emulated/0/foo/bar examined.
It would be cool if you could change the usage from

R.string.something + ' ' + filename
<string name="something">Examined</string>

to

String.format(R.string.something, filename)
<string name="something">Examined %1$s</string>

I hope it is clear what I mean.
(Of course this should not only be changed at that "examined" place, but everywhere other text is going to be added.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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