Skip to content

Some parts of the layout break with longer translations #9537

@afercia

Description

@afercia

The UI should take into account longer translations and, in some cases, also custom post types that could have long names.

At this point of the project, the UI should be thoroughly tested in as many different languages as possible. I've quickly switched through a few languages and noticed some layout issues. Some of them are minor, other ones are a bit more serious.

Especially flexbox seems not appropriate in some cases: while it's handy to have correct alignments, it doesn't allow elements to wrap as necessary, unless flex-wrap is used properly.

A few examples:

The View Post and Copy Link buttons in the publishing flow: when a post has a long name, the second button is partially cut-off:

screen shot 2018-09-01 at 15 26 42

Same happens in some languages with existing custom post types that have long names: this is Jetpack Testimonials in Italian:

screen shot 2018-09-01 at 15 28 58

In other parts of the UI I've noticed minor issues: the UI can still be used but it's not so nice to see:

Image size in German:

screen shot 2018-09-01 at 15 42 59

Text size in German:

screen shot 2018-09-01 at 15 43 23

I wonder what might happen in the mobile view, and when plugins will start adding their buttons on the toolbar and in other parts of the UI. Generally, I'd tend to think that the usage of flexbox in these problematic cases should be reviewed to gracefully allow elements to wrap when necessary.

Metadata

Metadata

Assignees

Labels

Internationalization (i18n)Issues or PRs related to internationalization effortsNeeds Design FeedbackNeeds general design feedback.[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions