History: The Lojban MOO: Inheritance vs. Multilingualism

Preview of version: 2

Design discussion


What follows is something of a dumping ground for thoughts. It'll probably be incomplete, and if you don't understand it, don't worry.

We're looking at completely redoing the way the multilingualism is done in
Mooix. Specifically, instead of having xml files that each contain all
languages, we're going to have separate files for translations into each
language. So that instead of having one name, you'd have name.en, name.jbo,
name.es, or whatever else.

One advantage is that it would be faster than splitting the xml. Another
advantage comes from the fact that language packs could be made much more
easily (so you could download an entire language and add it to your MOO,
without it breaking anything that currently exists). It also makes it much
clearer which fields are subject to translation (so you won't be like me,
with an editor of "<lang code='en'>vim</lang><lang code='jbo'>vim</lang>".

So far the chief difficulty seems to be with inheritance.

In the following, we have two users, John (who language is Lojban, "jbo"),
and Ed (whose language is English, "en"). Ed creates a Meep, and gives it a
description in English. Finally, John derives his own mipri from Ed's Meep,,
but doesn't change anything in it. So we've got:

/usr/lib/mooix/contrib/animal/description.en:              An animal.
/var/lib/mooix/contrib/animal/description.jbo:             .i danlu
/var/lib/mooix/users/ed/portfolio/Meep/description.en:     A meep!


It seems desirable that both John and Ed see the Meep described as "A meep!"
(even though for John that's not his own language), instead of John seeing
".i danlu" (which just means "[It's an] animal").

Here's a picture of this case:

Image

What inheritance strategy provides this?

History

Advanced
Information Version
Thu 04 of May, 2006 20:14 GMT rlpowell from 64.81.49.134 19
Thu 04 of May, 2006 20:12 GMT rlpowell from 64.81.49.134 18
Thu 04 of May, 2006 18:50 GMT rlpowell from 64.81.49.134 17
Thu 04 of May, 2006 18:32 GMT rlpowell from 64.81.49.134 16
Thu 04 of May, 2006 18:25 GMT Eimi from 128.252.20.65 spelling 15
Thu 04 of May, 2006 18:22 GMT rlpowell from 64.81.49.134 14
Thu 04 of May, 2006 17:58 GMT rlpowell from 64.81.49.134 13
Thu 04 of May, 2006 17:57 GMT rlpowell from 64.81.49.134 12
Thu 04 of May, 2006 07:21 GMT rlpowell from 64.81.49.171 11
Thu 04 of May, 2006 07:20 GMT rlpowell from 64.81.49.171 10
Wed 03 of May, 2006 18:30 GMT Eimi from 128.252.20.65 9
Wed 03 of May, 2006 17:55 GMT Eimi from 128.252.20.65 8
Wed 03 of May, 2006 15:44 GMT Eimi from 128.252.20.65 7
Wed 03 of May, 2006 03:31 GMT rlpowell from 64.81.49.134 6
Wed 03 of May, 2006 03:29 GMT rlpowell from 64.81.49.134 5
Wed 03 of May, 2006 03:21 GMT rlpowell from 69.3.234.248 4
Wed 03 of May, 2006 00:58 GMT rlpowell from 64.241.242.18 3
Wed 03 of May, 2006 00:48 GMT rlpowell from 64.241.242.18 2
Wed 03 of May, 2006 00:45 GMT rlpowell from 64.241.242.18 1
Show PHP error messages