[Freeciv-Dev] Improved grammatic handling of nation names.
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hi,
This patch (2000-08-21) improves the grammatic handling of nation names.
It is needed for translations. It replaces the old system:
*name
*name_plural
With the new richer system (examples included):
*adjective_capitalized:Swedish, Svensk
*adjective:Swedish, svensk
and
+Nouns indefinite--------------------+-----------------------------+
| | |genitive |
+--------+---------------------------+-----------------------------+
|singular|"a Swede", "en svensk" |"a Swede's", "en svensks" |
+--------+---------------------------+-----------------------------+
|plural |"Swedes", "svenskar" |"Swedes'", "svenskars" |
+--------+---------------------------+-----------------------------+
+Nouns definite----------------------+-----------------------------+
| | |genitive |
+--------+---------------------------+-----------------------------+
|singular|"the Swede", "svensken" |"the Swede's", "svenskens" |
+--------+---------------------------+-----------------------------+
|plural |"the Swedes", "svenskarna" |"the Swedes'", "svenskarnas" |
+--------+---------------------------+-----------------------------+
See the source code for more info.
This is not a perfect sytem, but it is an improvement over the old. The
Swedish translation will be of better quality with this patch. I believe
that other european languages can benefit from it too. I don't know
about the exotic languages such as japanese, but I think it at least
can't get worse, and hopefully better. Maybe even the English version
can benefit from it.
Of course, there might be little errors here and there, English is not
my native language, but they can be corrected now and then as they
appear, once the concept is in. Some native english speaker can check it
out.
I was able to compile and run the program without crashes after the
chages.
Erik Sigra
nation_name_i18n_improvement.diff.bz2
Description: Binary data
- [Freeciv-Dev] Improved grammatic handling of nation names.,
Erik Sigra <=
|
|