Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3680

Language packs do not work in OU Wiki

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.9, 2.1.6, 2.2.3, 2.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE

      Description

      The language packs must be named without _utf8. The module ouwiki uses the old version de_utf8, de_du_utf8, he_utf8, fr_utf8. The lang files are really old and for Moodle 1.9.x

      In the AMOS translation tool we had translated and improved for Moodle 2.1. Please add the german language to the module.

      Ralf

        Gliffy Diagrams

          Activity

          Hide
          quen Sam Marshall added a comment -

          The language packs are basically just left in in case they are useful as reference, I know they're out of date. Maybe should rename them but not sure...

          If you've translated it in AMOS, shouldn't I just be deleting the German language pack from our source so that it can be downloaded sutomatically or something? I don't know how that system works but I thought it was done by downloads.

          Show
          quen Sam Marshall added a comment - The language packs are basically just left in in case they are useful as reference, I know they're out of date. Maybe should rename them but not sure... If you've translated it in AMOS, shouldn't I just be deleting the German language pack from our source so that it can be downloaded sutomatically or something? I don't know how that system works but I thought it was done by downloads.
          Hide
          krause Ralf Krause added a comment -

          Hi Sam,
          I don't know what would be the best way to get this problem fixed. I will ask David for this. He is admin for the AMOS server where we are doing the translation.
          Ralf

          Show
          krause Ralf Krause added a comment - Hi Sam, I don't know what would be the best way to get this problem fixed. I will ask David for this. He is admin for the AMOS server where we are doing the translation. Ralf
          Hide
          krause Ralf Krause added a comment -
          Show
          krause Ralf Krause added a comment - Please look at http://lang.moodle.org/mod/forum/discuss.php?d=2228
          Hide
          mudrd8mz David Mudrak added a comment -

          OUWiki's strings have been imported into AMOS as Ralf mentioned. As there is just version for Moodle 2.1 available at http://moodle.org/plugins/pluginversions.php?plugin=mod_ouwiki strings are generated for Moodle 2.1.x language packs only. So even if the code itself may work in 2.2, language packs for that version do not contain ouwiki strings. It is the maintainer's (OU in this case) responsibility to release a build for Moodle 2.2 and publish it in the Plugins registry. Then strings for 2.2 can appear in AMOS (not automatically yet but still).

          Show
          mudrd8mz David Mudrak added a comment - OUWiki's strings have been imported into AMOS as Ralf mentioned. As there is just version for Moodle 2.1 available at http://moodle.org/plugins/pluginversions.php?plugin=mod_ouwiki strings are generated for Moodle 2.1.x language packs only. So even if the code itself may work in 2.2, language packs for that version do not contain ouwiki strings. It is the maintainer's (OU in this case) responsibility to release a build for Moodle 2.2 and publish it in the Plugins registry. Then strings for 2.2 can appear in AMOS (not automatically yet but still).
          Hide
          krause Ralf Krause added a comment -

          Hi Sam,

          it would be nice if you would release the OU Wiki for Moodle 2.2 and Moodle 2.3 as David wrote in his comment. If you will delete the all language packs except the english one everybody will get the translated strings from AMOS. This way will intend that the language maintainers translate the OU Wiki strings. In this case the OU Wiki strings will be updated together with all other strings.

          The other way is that you deliver the language packs together with your module. You must rename the language packs in your module folder. For example you need to get "de" instead of "de_utf8". After this you must load the german language file from AMOS into this "de" folder. In this case the module only will be complete with all international language packs if you put them all to the module.

          I hope we will get the first case

          Ralf

          Show
          krause Ralf Krause added a comment - Hi Sam, it would be nice if you would release the OU Wiki for Moodle 2.2 and Moodle 2.3 as David wrote in his comment. If you will delete the all language packs except the english one everybody will get the translated strings from AMOS. This way will intend that the language maintainers translate the OU Wiki strings. In this case the OU Wiki strings will be updated together with all other strings. The other way is that you deliver the language packs together with your module. You must rename the language packs in your module folder. For example you need to get "de" instead of "de_utf8". After this you must load the german language file from AMOS into this "de" folder. In this case the module only will be complete with all international language packs if you put them all to the module. I hope we will get the first case Ralf
          Hide
          quen Sam Marshall added a comment -

          Hi Ralf,

          Unfortunately the Moodle plugin maintenance process, even though it's been improved, is a bit cumbersome to update properly. It's not actually that difficult but I have precisely zero time allocated to this sort of thing. That's why the latest version of our modules is always on GitHub and never in the Moodle plugin system.

          That said I can probably/maybe find time to add the Moodle 2.2 version of ouwiki today or tomorrow or so. (This will be a once-only sort of deal, i.e. I won't ever update the code after putting it there, but hopefully that's enough to get it working with AMOS.) I'll add another comment here when I get around to it, or you can comment here if I forget...

          There is no Moodle 2.3 version of any of our modules yet, I expect that may happen some time around September.

          Show
          quen Sam Marshall added a comment - Hi Ralf, Unfortunately the Moodle plugin maintenance process, even though it's been improved, is a bit cumbersome to update properly. It's not actually that difficult but I have precisely zero time allocated to this sort of thing. That's why the latest version of our modules is always on GitHub and never in the Moodle plugin system. That said I can probably/maybe find time to add the Moodle 2.2 version of ouwiki today or tomorrow or so. (This will be a once-only sort of deal, i.e. I won't ever update the code after putting it there, but hopefully that's enough to get it working with AMOS.) I'll add another comment here when I get around to it, or you can comment here if I forget... There is no Moodle 2.3 version of any of our modules yet, I expect that may happen some time around September.
          Hide
          quen Sam Marshall added a comment -

          I have done the release for Moodle 2.2 now so hopefully you can translate strings. I also deleted the outdated language packs (from the wrong-named directories) although in this case, only from the current master version. (That change will trickle through to the MOODLE_22_STABLE version on our August release.)

          Show
          quen Sam Marshall added a comment - I have done the release for Moodle 2.2 now so hopefully you can translate strings. I also deleted the outdated language packs (from the wrong-named directories) although in this case, only from the current master version. (That change will trickle through to the MOODLE_22_STABLE version on our August release.)
          Hide
          quen Sam Marshall added a comment -

          Think this issue is now dealt with and you can translate stuff, I hope, so closing it! Thanks for the support.

          Show
          quen Sam Marshall added a comment - Think this issue is now dealt with and you can translate stuff, I hope, so closing it! Thanks for the support.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development