FeatureFuel
0

Proper i18n for UpdatesPanel versions behind label

Source: n8n-io/n8n#43137 · opened by @ByteEVM
Bug Description

The counter for N versions behind i.e., updatesPanel.version doesn't accept a flexible pluralization.
It's currently defined as:



It should migrate to the standard Vue i18n way of handling plurals,
i.e., {count} version | {count} versions

To Reproduce

1. Be N versions behind
2. Use a custom locale file e.g. fr.json
3. Your translations are expected to have numberOfVersions and howManySuffix

Expected behavior

A custom locale should have its own plural logic as not all languages use an s for plurals.

Debug Info

Implementation at components/UpdatesPanel.vue is the following:



Suggested PR

A fix has been proposed at PR #20810

Operating System

any

n8n Version

any

Node.js Version

any

Database

SQLite (default)

Execution mode

main (default)

Hosting

self hosted

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests