hitobito / hitobito_sac_cas

A hitobito wagon defining the organization hierarchy and additional features for SAC/CAS
Other
3 stars 2 forks source link

QUESTION: Welche Inhaltsübersetzungen gibt es? #1053

Open openscript opened 3 weeks ago

openscript commented 3 weeks ago

In Hitobito gibt es zwei Arten von Übersetzungen:

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

openscript commented 4 days ago

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:

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