Menu

Enduser portal language

2024-01-10
2024-01-16
  • Niclas Eriksson

    Niclas Eriksson - 2024-01-10

    Is it possible to get a translation to Swedish for the simple/end user portal? If so, how? Do I need to create a translation file and change config somehow?

     
  • Guillaume Lajarige

    Hello Niclas,

    We don't have an online platform for translations yet (it is planned, but we don't have an ETA), so you would have to make a PR on GitHub here.

    If you only wish to translate the end-user portal, you will have to duplicate english files for swedish only from the following folders:
    - datamodels/2.x/itop-portal
    - datamodels/2.x/itop-portal-base
    - datamodels/2.x/itop-incident-mgmt-itil
    - datamodels/2.x/itop-request-mgmt
    - datamodels/2.x/itop-request-mgmt-itil
    - datamodels/2.x/itop-tickets

    Let us know if you need help during the process :)

    Take care,
    Guillaume

     
  • Niclas Eriksson

    Niclas Eriksson - 2024-01-14

    OK thanks! If I then add for instance a file under datamodels/2.x/itop-portal-base/dictionaries named "sv_se.dict.itop-portal-base.php". How do I make it available to the end users in the My profile - Preferred language page?

     
  • Niclas Eriksson

    Niclas Eriksson - 2024-01-14

    oh sorry.. Just need to rerun the setup as it seems. Happy sunday :)

     
  • Guillaume Lajarige

    Yes, you need to run a setup.

    That being said, mind that if you do that, you will loose your translations when your upgrade to a newer version. If you feel like sharing the files with us we can integrate them in the next iTop version!

    If you rather keep them private, you should then make your own module and put the translations in it so it is preserved during the next upgrade. Documentation on how to make your how extension can be found here.

    Take care,
    Guillaume

     
    • Pierre Goiffon

      Pierre Goiffon - 2024-01-15

      Hello,
      Note this page dedicated to creating translations : How to translate [iTop Documentation]

       
  • Niclas Eriksson

    Niclas Eriksson - 2024-01-14

    If I can finish the translationfiles I can absolutely share them so others can use them aswell. Thanks for your help!

     
    🎉
    1
  • Guillaume Lajarige

    Thanks, that would mean a lot! 🙏
    (even if the translations are partials, you can share :) )

     
  • Niclas Eriksson

    Niclas Eriksson - 2024-01-16

    I was able to get some things correct, but I still see some elements in the portal in English, see attached. I can't seem to find where those elements are, or maybe I've missed some translation file?

     
  • Guillaume Lajarige

    Which version of iTop are you running?

     
  • Niclas Eriksson

    Niclas Eriksson - 2024-01-16

    It's version:
    iTop version 3.1.1-1-12561 built on 2023-12-19

    I found some of them under the portal dict. But I still haven't found the "Service Family, Service and Service subcat" parts.. I did find dict.itop-service-mgmt.php and changed that, but no luck.

     
  • Guillaume Lajarige

    This depends on your setup options, it can either come from dict.itop-service-mgmt.php or dict.itop-service-mgmt-provider.php

     
    👍
    1
  • Niclas Eriksson

    Niclas Eriksson - 2024-01-16

    OK thanks. I'll see if I can make it as I need in the provider file .. Thanks!

     
  • Niclas Eriksson

    Niclas Eriksson - 2024-01-16
     

    Last edit: Niclas Eriksson 2024-01-16

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.