Ticket #1187 (new Bug)

Opened 2 years ago

Last modified 7 weeks ago

Improve i18n/l10n of Piwik

Reported by: julen Owned by:
Priority: major Milestone: Feature requests
Component: UI (templates, javascript) Keywords: i18n, l10n
Cc: Sensitive: no

Description (last modified by matt) (diff)

While translating Piwik I have encountered some big issues in terms of i18n, so the application isn't localizable 100%.

Here are some of them, but there may be more:

  • Widgetize + SiteManager missing big chunks of text (on Javascript tag page etc)
  • 'CoreHome_DayFormat' is not used so the day in the front page can't be localized.
  • 'General_ColumnNbVisits' is used directly on graphics to display "X Visits". While a language can have a translation for "Visits", the translation for "X Visits" can be quite different and it can even depend on X. That's why there's a thing called 'plural-forms' in gettext-like systems. So please provide a way to localize "%d visits", not just "visits", and it would be great if there's support for plural-forms too.
  • 'General_Website' is used as-is to append the name of the website. This may be ok for some languages, but others may want to alter the order to get "%s website".

This probably also applies to more parts of the Piwik's UI.

  • Percentages are not localizable.

While most languages use the "100%" form, there are some which use "%100", so percentages must be localizable too.

  • Pagination is not localizable.

Users will always see pagination like "1-3 / 11", but that's not accurate for some languages.

Change History

Changed 2 years ago by vipsoft

  • milestone set to 5 - Piwik 1.0 - Stable release

Thanks. I'm deferring this one until we've finished moving all the translateable strings into en.php, and the translation team can identify all the strings (use cases) requiring special handling.

Comments:

  • Piwik doesn't use the gettext extension -- i.e., it's one less requirement.
  • Masculine vs feminine forms has also been raised.

Changed 21 months ago by matt

see also #1342

Changed 21 months ago by matt

(In [2200]) Refs #1187 translations of "X hours Y min" etc

Changed 19 months ago by matt

  • milestone changed from 4 - Piwik 1.0 - Stable release to Features requests - after Piwik 1.0

Changed 18 months ago by vipsoft

  • summary changed from Improve i18n of Piwik to Improve i18n/l10n of Piwik

Changed 4 months ago by matt

From email feedback

    the content of the "JavaScript-Code-Tracking" page
    the content of the "Quick access to APIs" page
    the content of the "Visitor Generator" page
    description of plugin: "ExamplePlugin", "SEO", " UserCountryMap"
    In the page "Plugins Management", the word "By" in the description of maker can be translated into "Oleh"
    Text "Create a Goal" in table "Create a Goal" in page "Goals" can be translated to "Buat Tujuan"
    text "(optional)" in table "Goals_DefaultRevenue " can be translated to "(pilihan)"
    in "SitesManager_PiwikWillAutomaticallyExcludeCommonSessionParameters", the word "etc" can be translated into "dsb",

Changed 8 weeks ago by matt

  • description modified (diff)

Changed 7 weeks ago by matt

  • description modified (diff)

Changed 7 weeks ago by matt

(In [5573]) Refs #1187

Note: See TracTickets for help on using tickets.