Page 1 of 1

editing dutch.language

Posted: Wed Jan 04, 2012 9:12 pm
by Johan
Hi guys,

Having done most of the translations for OS4.1, I think now it's time to update the old dutch.language.
It seems that I have to create a language.catalog that will overrule some strings in dutch.language.

I have found language.cd, and BuildLanguageCT too, and I have done the following:

BuildLanguageCT language.cd CTFILE language.ct

and that gave me a nice language.ct-file. I have edited some strings and did:

catcomp language.cd language.ct CATALOG language.catalog

and thus created a language.catalog. Placed this in sys:locale/catalogs/dutch/sys, rebooted, and then nothing. It turned out that the old dutch.language is still in charge.

I have surely done something wrong, or even something stupid, but if I only knew what...


johan

Re: editing dutch.language

Posted: Wed Jan 04, 2012 9:51 pm
by Slayer
Perhaps you need to enter Locale Preferences and clear languages save and exit re-enter select it and save etc

OR

in a shell delete sys:prefs/env-archive/sys/locale.prefs

reset machine then select it via preferences etc

a few things you can try, of course I might be way off the mark 8-)

Sounds like once a language is set it is imported and saved elsewhere or similair

Re: editing dutch.language

Posted: Thu Jan 05, 2012 2:29 pm
by Johan
Been there, done that. To no avail, I am afraid.


johan

Re: editing dutch.language

Posted: Thu Jan 05, 2012 7:41 pm
by Slayer
Then I guess you have done something wrong ;) you've either replaced the wrong file or not updated something else as well or a combination of both, but of course you suggested this in your initial post :D

Re: editing dutch.language

Posted: Fri Jan 06, 2012 12:09 am
by tonyw
What are you trying to change? I mean, the output as seen on ???

There are many different places where language files are situated. Prefs editors, for instance, have their own Locale file with every prefs editor's text in it.

Maybe you have just changed the wrong file, which is why I asked what exactly are you trying to change?

Re: editing dutch.language

Posted: Fri Jan 06, 2012 8:12 pm
by Johan
There are certain strings that don't come from a .catalog-file but rather from xx.language (which holds names of days and months, and terms like "today", "tomorrow" etc). A .language-file is not something a translator can make himself, unlike a .catalog-file.

Now it seems to be possible to create a .catalog that will override (some) strings in a .language and that is what I am trying to achieve.

There is a language.cd, out of which I can make a language.ct (through BuildLanguageCT, a CatComp-lookalike) but that fails, in my case.


johan

Re: editing dutch.language

Posted: Sun Jan 22, 2012 1:23 am
by javierdlr
Haven't try, but do you copy such .catalog in LOCALE:<language>/Sys?
I'll try to compile language.catalog to spanish and see if I see the changes.

Re: editing dutch.language

Posted: Sun Jan 22, 2012 6:43 pm
by nbache
javierdlr wrote:Haven't try, but do you copy such .catalog in LOCALE:<language>/Sys?
LOCALE:Catalogs/<language>/Sys - just like Johan stated in the first post above.

Best regards,

Niels

Re: editing dutch.language

Posted: Fri May 18, 2012 6:01 pm
by Belxjander
Johan wrote:There are certain strings that don't come from a .catalog-file but rather from xx.language (which holds names of days and months, and terms like "today", "tomorrow" etc). A .language-file is not something a translator can make himself, unlike a .catalog-file.

Now it seems to be possible to create a .catalog that will override (some) strings in a .language and that is what I am trying to achieve.

There is a language.cd, out of which I can make a language.ct (through BuildLanguageCT, a CatComp-lookalike) but that fails, in my case.


johan

This is correct... dutch.language may be like the chinese.language, japanese.language and korean.language files I am writing as part of perception-ime on http://code.google.com/p/perception-ime/

do you need to rebuild the dutch language with updated strings?