Closed
Solved
Spanish Language pack can't be imported in Pega Infinity '24.1.2
When I try to import Spanish Language Pack, downloaded from Pega Marketplace (https://community.pega.com/marketplace/language-pack/pega-common-language-pack), it shows a pyArchive Type error as shown in the attached screenshot.
@JorgeTena
To import a language pack into your Pega Constellation application, you can utilize the Localization feature in App Studio. Here's how to do it:
1. Access the Localization Settings:
2. Create a New Translation Pack:
On the Translation packs tab, click New to initiate the creation of a new translation pack.
In the dialog box that appears, click Add language and select the desired language (e.g., Spanish ES (United States)).
Click Next to proceed.
3. Download the Translation Package:
4. Edit the Translation Package:
Extract the contents of the downloaded package to your local drive.
Open the Excel file and provide translations for the necessary fields in the Translated string column.
After completing the translations, save the Excel file and repackage the folder as a
.ziparchive.@JorgeTena
To import a language pack into your Pega Constellation application, you can utilize the Localization feature in App Studio. Here's how to do it:
1. Access the Localization Settings:
2. Create a New Translation Pack:
On the Translation packs tab, click New to initiate the creation of a new translation pack.
In the dialog box that appears, click Add language and select the desired language (e.g., Spanish ES (United States)).
Click Next to proceed.
3. Download the Translation Package:
4. Edit the Translation Package:
Extract the contents of the downloaded package to your local drive.
Open the Excel file and provide translations for the necessary fields in the Translated string column.
After completing the translations, save the Excel file and repackage the folder as a
.ziparchive.5. Import the Translated Package:
Return to the Localization settings in App Studio.
On the Translation packs tab, locate the language pack you created, click Actions > Import translation, and upload the updated
.zipfile.Click Next to complete the import process.
6. Set the Default Locale for Users:
In Dev Studio, navigate to the operator record for the user who needs the localized interface.
Under the Profile tab, set the Locale field to the appropriate locale code (e.g.,
es_USfor Spanish - United States).Save the changes.
The user may need to log out and log back in for the changes to take effect.
For detailed guidance, you can refer to the Pega Academy challenge on Localizing a UI form, which provides step-by-step instructions on this process.
By following these steps, you can effectively import and apply language packs in your Pega Constellation application using App Studio.