Hello, a question regarding Translations in SC: - ...
# suitecommerce
v
Hello, a question regarding Translations in SC: • Under Company > General Preferences and Web Site Setup > Shopping we can add any NS supported language (example: "Bengali") • But this language ("Bengali") cannot be used via SC Config translations since the key for "Bengali" is missing under SC Config > Multi-Domain > Translations (there are around 20 languages listed as columns). • Can we not add translations for any other language apart from those ones that are listed here? • Can we access this list of SC supported languages via code (in SuiteScript)?
f
You can add a new language through an extension
v
Thanks Flo, I was not aware of that! I did look around in https://developers.suitecommerce.com/ to see if there is any document that I can refer for the same, but couldn't find any. Can you lead me in the right direction as of how I can do this via an extension?
v
Thank you, I will read up on this. 🙂
m
@Viraj Shinde did this to add support for Arabic translation via configuration in extension.
{
"type": "object",
"modifications": [
{
"target": "$.properties[extraTranslations].items.properties",
"action": "add",
"value": {
"ar": {
"type": "string",
"title": "ar"
}
}
}
]
}