This project contains resource files for all the text used in the Colectica Portal user interface.
To translate these resources to a new language, follow these steps.
- In the DdiItemStrings project, rename the
DdiItemStrings.en-US.resxfile with the appropriate language. For example, if you are translating to French, you can rename the file toDdiItemStrings.fr.resx. - In the PortalStrings project, rename the
PortalStrings.en-US.resxfile with the appropriate language. For example, if you are translating to French, you can rename the file toPortalStrings.fr.resx. - Edit the text in the resource files with your translations. If you want to keep the default text for any given string, simply delete the entry. Colectica Portal will fall back to the English text that is bundled with the application.
- Build the two projects using dotnet or msbuild.
This should create files named
bin/Debug/net6.0/{lang}/ColecticaRepository.resources.dllandbin/Debug/net6.0/{lang}/Algenta.Colectica.Model.Ddi.resources.dll. - To test your localized resources:
- Create a folder inside your Colectica Repository deployment directory.
The folder should have the same name as your language (e.g.,
frfor French). - Copy the two
*.resources.dllfiles into this folder. - Restart the Colectica Portal application in IIS.
- Create a folder inside your Colectica Repository deployment directory.
The folder should have the same name as your language (e.g.,