Closed avaidyam closed 3 years ago
@avaidyam We missed games while estimating this translation and the strings also does not include it. We have started and we will be trying to include it in next day release in the format (TRY_IT) specified. If not we can update it in another 2days.
@avaidyam We have completed testing of language translation and updated the code. The Lamp Activities will be completed on 11-13-2020
@sijugeorge-zco @sarithapillai8
Can you adjust the way you're passing the language code to the embedded activity as a different variable, called configuration? This will conflict with if an Activity.settings actually has a parameter named language. As an example, it should look like this:
"configuration": {
"language": "en-US"
}
@avaidyam We have updated language translation for the activities except the DBT activity. Can we continue on that now?
Yes! @elenamrv has already requested the responsible team(s) to translate the remaining DBT Diary Card strings.
@sarithapillai8 @sijugeorge-zco Is the translations integration complete? (Knowing that the DBT Diary Card translations PR is awaiting the staging → production to go through first.)
@avaidyam , we have completed the integration of DBT Diary Card translation. After testing we will push it to the repo.
@sijugeorge-zco We just received Spanish translations for portions of the DBT Diary Card - I'll attach the document here as inline code. Let me know when you will be able to integrate it!
{
"Survey": "Encuesta",
"DBT Diary Card": "Tarjeta de registro diario",
"Daily log of events and related feelings": "Registro diario de eventos y sentimientos relacionados",
"Track target behaviors and use of skills": "rastrear comportamientos/ conducta problema y uso de habilidades",
"Start survey": "empezar la encuesta",
"Life worth living goal": "Vida digna de Ser Vivida. (Metas)",
"Continue": "continuar",
"Which target behaviors did you experience today?": " ¿Qué conducta problema experimentaste hoy?",
"0= not at all, 5 = extremely": "0= nada, 5= extremadamente",
"Urge": "Impulso",
"Acted": "actuó",
"Next": "siguiente",
"Back": "atrás or espalda (this depends on context of sentence)",
"Which emotions did you experience today?": " ¿Qué emociones experimentaste hoy?",
"Did you use any of the skills today?": "¿Usaste alguna de las habilidades hoy?",
"Yes": "Si",
"No": "No",
"Why didn’t you use any skills?": "¿Por qué no usaste ninguna habilidad?",
"0 / 300 max characters": "0/ 300 caracteres máximos",
"Optional: Are there any other details you want to share about your day?": "Opcional: ¿Hay algún otro detalle que quieras compartir sobre tu día?",
"Short answer (1-2 sentences)": "respuestas cortas (1-2 frases)",
"Which skills did you use?": " ¿Qué habilidades usaste?",
"Mindfulness": " Habilidades de conciencia plena",
"Wise Mind": "Mente Sabia",
"Observe: Just notice (Urge Surfing)": "Observar: Simplemente notar (surfear la urgencia)",
"Describe: Put words on": "Describir; Describa con palabras",
"Participate: Enter into the experience": "Participar; Entre/Dispóngase a la experiencia",
"Nonjudgmental stance": "No Emitir Juicios; No Juzgue (Describa los hechos sin juzgar)",
"One-Mindfully: In-the-moment": "En el momenta; Enfóquese en el presente; En este momento",
"Effectiveness: Focus on what works": "Efectividad; Enfóquese en lo que funciona",
"Loving Kindness: Build compassion": "Loving Kindness: Build compassion",
"Interpersonal Effecriveness": "Habilidades de efectividad interpersonal",
"Objective effectiveness: DEAR MAN": "efectividad en los objetivos; Decida obtener sus metas (DEAR) ",
"Relationship effectiveness: GIVE": "efectividad en las relaciones (GIVE)",
"Self-respect effectiveness: FAST": "efectividad u autorespeto (FAST)",
"Validating Others": "validar a otras personas ",
"Self-Validation": "validarse a sí mismo y autorespeto",
"Behavior change: reinforce/extinguish": "cambio la conducta; reforzarse/ extinción",
"Mindfulness of others": "Atención plena de las demás/ los demás",
"Find others and get them to like you": "Encuentra a otros y haz que les gustes",
"End relationships": "terminar relaciones",
"Emotion Regulation": "Habilidades de regulación emocional",
"Check the Facts to change emotions": "Verificar los hechos",
"Opposite Action to change emotions": "Acción opuesta a la emoción",
"Problem Solving to change emotions": "Resolución de problemas ",
"Accumulate positive emotions": "Aumento de eventos y emociónes positivos",
"Build Mastery": "construye dominio",
"Cope Ahead": "anticipate con las situaciones emocionales",
"PLEASE: Take care of your body": "Reducir Vulnerabilidad: Salud física, Comer Saludable, Evitar drogas, Dormir, Ejercici (PLEASE)",
"Distress Tolerance": " Habilidades de aceptación radical",
"STOP Skill": "STOP Skill",
"Pros and Cons of acting on urges": "Pros y Contras: Mientras tolera el Malestar",
"TIP: Change body chemistry": "cambia la fisiología de tu cuerpo",
"Paired Muscle Relaxation": "Paired Muscle Relaxation",
"Effective Rethinking/Paired Relax": "Effective Rethinking/Paired Relax",
"Distracting: Wise Mind ACCEPTS": "DISTRÁETE de los acontecimientos que activen tus emociones",
"Self-Soothing": "CÁLMATE mediante tus cinco sentidos",
"Body Scan Meditation": "Body Scan Meditation",
"IMPROVE the Moment ": "MEJORA el momento en el que estás",
"Sensory Awareness": "Sensory Awareness",
"Radical Acceptance": "Aceptación Radical",
"Turning the Mind": "Cambiando la MENTE",
"Replace Willfulness with Willingness": "Replace Willfulness with Willingness",
"Half-Smiling and Willing Hands": "Half-Smiling and Willing Hands",
"Dialectical Abstinence": "Dialectical Abstinence",
"Alternate Rebellion / Adaptive Denial": "rebellión alternativa",
"Select all that apply": "seleccione todas las que correspondan",
"How much effort did you put into the skills?": "¿Cuánto esfuerzo pusiste en las habilidades?"
}
@avaidyam For the DBT Diary card translations , we are using in the format as below:
{
LIFE_WORTH_LIVING_GOAL: "Life worth living goal",
CONTINUE: "Continue",
TARGET_BEHAVIORS: "Target behaviors",
}
So we will change the Spanish translations(you provided) to that format(which we have implemented as above) OR Do we need to change the format to the format you provided?
After testing we can push it by 11-23-2020. On Login Screen, do we need to add Spanish on the Language dropdown ? What will be the language code for Spanish ?
@sijugeorge-zco Please do change them to the new format (which is much better!) The language code for Spanish is es-ES
and yes, please do add Spanish to the dropdown. Thanks!
@avaidyam The new format which you are mentioning is it 'LIFE_WORTH_LIVING_GOAL' ??
@sijugeorge-zco - Sorry, I meant change the keys in the JSON I provided to YOUR new format which is much better.
@avaidyam we will change the keys (which you have provided) to the below format as you suggested: { LIFE_WORTH_LIVING_GOAL: "Life worth living goal", CONTINUE: "Continue", TARGET_BEHAVIORS: "Target behaviors", }
@sijugeorge-zco
Please incorporate these translations. The login screen UI should have a language selector dropdown and the selected language-locale (i.e. "en_US" for English - United States or "hi_IN" for Hindi - India) should be saved in localStorage. In React on the UI side, please use this library for the implementation.
Basecamp Conversation: