asking a question/reporting a bug
duplicate values in the survey are removed even with storeDuplicateTranslations
set to true
Duplicate translations should not be removed
Codesandbox: https://codesandbox.io/s/peaceful-hooks-4btwyp?file=/src/App.tsx
Current JSON for the first question:
"type": "panel",
"name": "nps-panel",
"elements": [
{
"type": "rating",
"name": "nps-score",
"title": {
"default": "On a scale from 0 to 10 how likely are you to recommend us to a friend or colleague?",
"fr": "Sur une échelle de 0 à 10, quelle est la probabilité que vous recommandiez notre produit à un ami ou à un collègue?"
},
"rateMax": 10,
"minRateDescription": {
"default": "Very unlikely",
"fr": "Très improbable"
},
"maxRateDescription": {
"default": "Very likely",
"fr": "Très probable"
}
},
Go back to the editor, replace "On a scale from 0 to 10 how likely are you to recommend us to a friend or colleague?" with "Sur une échelle de 0 à 10, quelle est la probabilité que vous recommandiez notre produit à un ami ou à un collègue?", click back to the JSON viewer, it now says
{
"type": "rating",
"name": "nps-score",
"title": "Sur une échelle de 0 à 10, quelle est la probabilité que vous recommandiez notre produit à un ami ou à un collègue?",
"rateMax": 10,
"minRateDescription": {
"default": "Very unlikely",
"fr": "Très improbable"
},
where it should say
{
"type": "rating",
"name": "nps-score",
"title": {
"default": "Sur une échelle de 0 à 10, quelle est la probabilité que vous recommandiez notre produit à un ami ou à un collègue?",
"fr": "Sur une échelle de 0 à 10, quelle est la probabilité que vous recommandiez notre produit à un ami ou à un collègue?"
},
"rateMax": 10,
"minRateDescription": {
"default": "Very unlikely",
"fr": "Très improbable"
},
Tested page URL: Codesandbox: https://codesandbox.io/s/peaceful-hooks-4btwyp?file=/src/App.tsx
Hello @JosephBrooksbank,
Please accept my apoligies for the delayed reply. I tested your sample, but didn't reproduce the issue: title transations for the default and Fr locales remain the same:
The updated example is available at https://codesandbox.io/s/priceless-bassi-q4j99o?file=/src/survey.ts.
Please let me know if I missed anything important.
Owner Name | surveyjs |
Repo Name | survey-creator |
Full Name | surveyjs/survey-creator |
Language | TypeScript |
Created Date | 2015-12-22 |
Updated Date | 2023-03-30 |
Star Count | 683 |
Watcher Count | 29 |
Fork Count | 308 |
Issue Count | 301 |
Issue Title | Created Date | Updated Date |
---|