Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QUESTION: Welche Inhaltsübersetzungen gibt es? #1053

Open
openscript opened this issue Sep 27, 2024 · 1 comment
Open

QUESTION: Welche Inhaltsübersetzungen gibt es? #1053

openscript opened this issue Sep 27, 2024 · 1 comment
Labels
interest-sac question Further information is requested Sprint 13

Comments

@openscript
Copy link
Contributor

openscript commented Sep 27, 2024

In Hitobito gibt es zwei Arten von Übersetzungen:

  • Statischer Text in der Benutzeroberfläche (Transifex)
  • Benutzerinhaltstext von den Benutzern erfasst (Hitobitodatenbank)

Um eine Übersicht zu den Übersetzungen zu gewinnen, sollen zusätzlich zu den statischen Texten der Benutzeroberfläche noch die Benutzerinhaltstexte aufgelistet werden:

  • Initiale Produktionsdaten (production seed): Welche Übersetzungen gibt es? Welche Übersetzungen fehlen noch?
  • Entitäten, die in der Datenbank übersetzt werden: Welche Entitäten haben eine _translations Tabelle?
@openscript
Copy link
Contributor Author

openscript commented Oct 15, 2024

Welche Übersetzungen gibt es?

Es geht bei der Frage um die Daten, die Initial in der Produktionsumgebung geladen werden. Dies geschieht in den Seeds in hitobito_sac_cas/db/seeds:

custom_contents.rb
event_questions.rb
groups.rb
mailing_lists.rb
qualification_kinds.rb
self_registration_reasons.rb
termination_reasons.rb

Welche Übersetzungen fehlen noch?

Ein Überblick über die vorhandenen Daten:

  • custom_content_translations: teilweise fehlen Übersetzungen, es gibt Lücken (TBD)
  • cost_center_translations: keine Daten
  • label_format_translations: keine Übersetzungen
  • qualification_kind_translations: keine Übersetzungen
  • cost_unit_translations: keine Daten
  • event_kind_translations: keine Übersetzungen
  • event_level_translations: keine Daten
  • help_text_translations: keine Daten
  • event_question_translations: Englisch fehlt
  • event_translations: keine Daten (Platzhalter)
  • event_kind_category_translations: keine Übersetzungen
  • group_translations: fehlende Daten
  • self_registration_reason_translations: 🆗
  • termination_reason_translations: 🆗
  • course_compensation_category_translations: keine Daten

Welche Entitäten haben eine _translations Tabelle?

SELECT table_name
FROM information_schema.tables
WHERE table_schema = 'public'
  AND table_name LIKE '%_translations';

Das Resultat lautet:

 custom_content_translations
 cost_center_translations
 label_format_translations
 qualification_kind_translations
 cost_unit_translations
 event_kind_translations
 event_level_translations
 help_text_translations
 event_question_translations
 event_translations
 event_kind_category_translations
 group_translations
 self_registration_reason_translations
 termination_reason_translations
 course_compensation_category_translations

Alle Daten sind hier in den einzelnen Tabellenblättern exportiert:
hitobito_sac_cas_db_translations.ods

@ThomasEllenberger ThomasEllenberger removed their assignment Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interest-sac question Further information is requested Sprint 13
Projects
None yet
Development

No branches or pull requests

2 participants