N
nickb
I'm trying to construct a form that will let me translate pre-defined "base"
sentences to several languages. I have the following tables:
BaseTexts: ID, Text
Languages: Language
Translations: BaseTextID, Language, Translation
but the Translations table only has records if a translation actually
exists. So I have a query that gets me all (BaseTextID, Text, Language)
triplets for which a translation is needed (Text <-> BaseTextID is 1-1
mapping, but users need to see the text itself in order to translate), and I
want to present a multiple-records form with 4 columns:
BaseTextID, Text, Language, Translation. The first three fields should be
pre-populated with the result of my queries - so that if I have 200 texts
missing translations I will have 200 rows, then someone will fill the 200
missing translations and the Translations table will be updated with new
records.
How do I do that?
sentences to several languages. I have the following tables:
BaseTexts: ID, Text
Languages: Language
Translations: BaseTextID, Language, Translation
but the Translations table only has records if a translation actually
exists. So I have a query that gets me all (BaseTextID, Text, Language)
triplets for which a translation is needed (Text <-> BaseTextID is 1-1
mapping, but users need to see the text itself in order to translate), and I
want to present a multiple-records form with 4 columns:
BaseTextID, Text, Language, Translation. The first three fields should be
pre-populated with the result of my queries - so that if I have 200 texts
missing translations I will have 200 rows, then someone will fill the 200
missing translations and the Translations table will be updated with new
records.
How do I do that?