Conversation
…ate_version_from_yaml method directly, enhancing error handling and logging. Added comprehensive unit tests for version creation scenarios, including success, no changes, invalid YAML, and API error handling. #47
|
@endymion What do you fell about anglicisms? Things like "Item" should we translate those? Also, there is a better way to do translations. This comes from a global language provider that detects the user lang, via cookie, browser or manual setup |
|
Oh, excellent, thanks! I was trying to set it up to automatically select Spanish if the user's browser is set to request Spanish. But I couldn't get that to work. This might help with that? Your opinion matters a lot more than mine about this, but I was imagining translating the key concepts in the conceptual framework to Spanish equivalents. Like, "item" -> "elemento" Or "ítem"? I have no idea what would sound better to native Spanish speakers. |
… support, outlining core principles, current implementation, translation status, workflow, and brand glossary.
There was a problem hiding this comment.
Bug: Duplicate JSON Keys Overwrite Translations
The dashboard/messages/es.json and dashboard/messages/en.json files contain duplicate "navigation" keys. The second "navigation" object overwrites the first, leading to the loss of the initial set of navigation translations. JSON objects do not support duplicate keys.
dashboard/messages/en.json#L13-L112
Plexus/dashboard/messages/en.json
Lines 13 to 112 in 6a5a503
dashboard/messages/es.json#L13-L112
Plexus/dashboard/messages/es.json
Lines 13 to 112 in 6a5a503
Was this report helpful? Give feedback by reacting with 👍 or 👎
# Conflicts: # dashboard/app/[locale]/datasets/page.tsx # dashboard/app/[locale]/lab/datasets/layout.tsx # dashboard/app/[locale]/lab/datasets/page.tsx # dashboard/app/layout.tsx # dashboard/app/page.tsx # dashboard/components/EvaluationTask.tsx # dashboard/components/blocks/TopicAnalysis.tsx # dashboard/components/dashboard-layout.tsx # dashboard/components/items-dashboard.tsx # dashboard/components/items/ItemCard.tsx # dashboard/components/items/ScoreResultCard.tsx # dashboard/components/reports-dashboard.tsx # dashboard/components/ui/timestamp.tsx
|
@endymion |
Osledy, I did a lot of the work toward language localization and Spanish-language support. But, I feel that the Pareto Principle probably applies here. There are probably a lot of details that I neglected. I don't have anywhere near as much experience as you do with localization and of course Spanish, so could you please take a look and let us know if you have any guidance on best practices for doing the localization? I'm not completely sure if we should set it up with /es/ routes or if it should be more transparent than that, or how it should work.