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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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
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?
oh sorry.. Just need to rerun the setup as it seems. Happy sunday :)
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
Hello,
Note this page dedicated to creating translations : How to translate [iTop Documentation]
If I can finish the translationfiles I can absolutely share them so others can use them aswell. Thanks for your help!
Thanks, that would mean a lot! 🙏
(even if the translations are partials, you can share :) )
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?
Which version of iTop are you running?
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.
This depends on your setup options, it can either come from
dict.itop-service-mgmt.php
ordict.itop-service-mgmt-provider.php
OK thanks. I'll see if I can make it as I need in the provider file .. Thanks!
Last edit: Niclas Eriksson 2024-01-16