Skip to content

Tricky translation string for post author, time and source #56

Open
@rjmackay

Description

@rjmackay

The pattern library creates some tricky to translate strings https://www.dropbox.com/s/qz7f0ui1v3me75f/Screenshot%202016-05-17%2016.06.11.png?dl=0

"Jess Shorland, 45 mins, via SMS" would ideally be built from a single translation string of "{Name}, {post date}, via {source}"
This allows translators to reorder the phrase as appropriate for their language. However because formatting and link around the user name (and probably the avatar too) we have to either:

  • include HTML in the translation and hope translators don't break it
  • split the string and make it impossible to reorder the sentence when appropriate

Could we change the format here and make theses clearly 3 separate elements? .. or maybe theres another better solution.
We can work around this in the client, but the solutions are awkward.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions