← Back to team overview

mahara-contributors team mailing list archive

[Bug 1996613] Re: Replace newer versions of translated strings in language pack

 

Hi Kristina,

I've been adding translations to the trunk branch of the Dutch language
pack (I thought that would suffice). If I download the trunk and go
through it using Poedit, there's no switchbox string with 'Op' as
translation for 'On'. That's why I concluded there must be something
else preventing the correct strings to be loaded.

This particular bit is from the Make > Files > Edit file (or folder)
bit, as can be seen in the screenshot.

I searched the Bazaar link for both 'Op' and 'Aan', and the string seems
to have been correctly translated there (see lines 43970 - 43973).

The only option: the string was incorrectly translated in a version
before 22.04 and hasn't updated since.

Is the only option then to delete the langpack folder from the server
and add it again through Development > Languages?

** Attachment added: "Scherm­afbeelding 2022-11-16 om 09.11.55.png"
   https://bugs.launchpad.net/mahara/+bug/1996613/+attachment/5630960/+files/Scherm%C2%ADafbeelding%202022-11-16%20om%2009.11.55.png

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1996613

Title:
  Replace newer versions of translated strings in language pack

Status in Mahara:
  Incomplete

Bug description:
  Mahara 22.04.2 (and above)

  This is an improvement to the current Language updater feature in
  Mahara, solving the following issue:

  When a previously untranslated string has been translated, this
  becomes part of the language pack that can be updated through the
  Development > Languages feature. This is a good thing...

  However, when an already translated string in a language pack is
  updated by a translator, this doesn't affect the implemented language
  pack in the Mahara instance.

  An example:
  The English switchbox On/Off has been translated (incorrectly) in Dutch to Op/Uit where Aan/Uit was expected. Even after updating the Dutch language pack to fix this error, the original translated string persists in de Mahara instance.

  Expected behaviour:
  If a string in the language pack is updated, this update should also be visible in the Mahara instances using that language pack, through either manual or automatic updates.

  The current 'expected' solution to this: uninstall the language pack
  with the error and reinstall the language pack by pulling it from the
  repository. This is labor intensive and not always possible.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1996613/+subscriptions



References