Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who's Online
21 user(s) are online (15 user(s) are browsing Forum)

Members: 0
Guests: 21

more...

Browsing this Thread:   1 Anonymous Users



(1) 2 »


Localization
Guest_
Can anyone pls point me to source files templates
needed in order to create an localization.

Ty

Posted on: 2009/12/18 10:38
Transfer the post to other applications Transfer


Re: Localization

Joined:
2005/8/17 16:00
From Germany
Group:
Member
Posts: 2058
Offline
The available catalog description (#?.cd) and catalog translation (#?.ct) files are in "Core AROS sources" which you can download from http://aros.sourceforge.net/download.php .

It would be ideal if you can get a Subversion account, otherwise you'd need someone who commits your work to the AROS Subversion repository.

Posted on: 2009/12/19 2:02
_________________
AROS - Make code, not war
Transfer the post to other applications Transfer


Re: Localization
Guest_
Ty mazze.

Beside the locale/countries/hrvatska.c and flag image
that was already in sources I have craeated:

hrvatski.c in locale/languages
hrvatski.ct in locale/catalogs

Is that the only four files that can be used for localization in aros?

Posted on: 2009/12/19 5:42
Transfer the post to other applications Transfer


Re: Localization

Joined:
2005/8/17 16:00
From Germany
Group:
Member
Posts: 2058
Offline
Quote:

damir101 wrote:
Is that the only four files that can be used for localization in aros?


You can create a #?.ct file from any #?.cd file.

The tool of choice for this task is FlexCat. You can create #?.ct files by
flexcat foobar.cd newctfile hrvatska.ct

See:
http://aros.sourceforge.net/documenta ... zing-aros-or-applications
for more information.

Here is your TODO list

./workbench/prefs/wanderer/catalogs/wanderer.cd
./workbench/prefs/trackdisk/Catalogs/trackdisk.cd
./workbench/prefs/Editor/catalogs/JanoPrefs.cd
./workbench/prefs/input/catalogs/input.cd
./workbench/prefs/network/catalogs/network.cd
./workbench/prefs/locale/catalogs/locale.cd
./workbench/prefs/icontrol/catalogs/icontrol.cd
./workbench/prefs/screenmode/catalogs/screenmode.cd
./workbench/prefs/Zune/catalogs/zune.cd
./workbench/prefs/PSI/catalogs/psi.cd
./workbench/prefs/reqtools/catalogs/reqtoolsprefs.cd
./workbench/prefs/serial/catalogs/serial.cd
./workbench/prefs/time/catalogs/time.cd
./workbench/prefs/font/catalogs/font.cd
./workbench/classes/gadgets/texteditor/mcp/locale/TextEditor_mcp.cd
./workbench/classes/zune/prefswindow/catalogs/prefswindow.cd
./workbench/classes/zune/betterstring/mcp/locale/BetterString_mcp.cd
./workbench/classes/zune/aboutwindow/catalogs/aboutwindow.cd
./workbench/classes/zune/systemprefswindow/catalogs/systemprefswindow.cd
./workbench/network/stacks/AROSTCP/MUI.MiamiPanel/Catalogs/MUI.MiamiPanel.cd
./workbench/locale/catalogs/security.cd
./workbench/locale/catalogs/securitysupp.cd
./workbench/libs/asl/catalogs/asl.cd
./workbench/libs/reqtools/catalogs/reqtools.cd
./workbench/libs/openurl/locale/OpenURL.cd
./workbench/utilities/MultiView/catalogs/multiview.cd
./workbench/utilities/Clock/catalogs/clock.cd
./workbench/utilities/More/catalogs/more.cd
./workbench/utilities/Snoopy/catalogs/snoopy.cd
./workbench/utilities/Installer/catalogs/Installer.cd
./workbench/tools/HDToolBox/catalogs/hdtoolbox.cd
./workbench/tools/ScreenGrabber/catalogs/screengrabber.cd
./workbench/tools/Edit/catalogs/JanoEditor.cd
./workbench/tools/commodities/catalogs/commodities.cd
./workbench/c/LoadResource/catalogs/loadresource.cd
./workbench/system/Wanderer/Catalogs/wanderer.cd
./workbench/system/Wanderer/Tools/WBNewDrawer/catalogs/wbnewdrawer.cd
./workbench/system/Wanderer/Tools/WBRename/catalogs/wbrename.cd
./workbench/system/Wanderer/Tools/ExecuteCommand/catalogs/executecommand.cd
./workbench/system/Wanderer/Tools/Info/catalogs/info.cd
./workbench/system/Wanderer/Tools/DiskInfo/Catalogs/DiskInfo.cd
./workbench/system/Wanderer/Tools/Delete/Catalogs/Delete.cd
./workbench/system/BHFormat/catalogs/Format.cd
./workbench/system/AboutAROS/catalogs/aboutaros.cd
./rom/dos/catalogs/dos.cd
./arch/common/hidd.pci/pcitool/catalogs/pcitool.cd
./contrib/necessary/SFS/SFSdefrag/Catalogs/sfsdefrag.cd
./contrib/necessary/AHI/Examples/Low-level/3rd party/GetAudioID/Source/GAI.cd
./contrib/necessary/AHI/Examples/Low-level/HardDiskRecord/HardDiskRecord.cd
./contrib/necessary/AHI/Device/ahi.cd
./contrib/necessary/AHI/AHI/ahiprefs.cd

Posted on: 2009/12/20 8:41
_________________
AROS - Make code, not war
Transfer the post to other applications Transfer


Re: Localization
Guest_
Instaed of using FlexCat can I copy & rename existing .ct file and then edit it?

Another thing is missing keyboard support.
How does one create an keymap file?

Posted on: 2009/12/21 0:29
Transfer the post to other applications Transfer


Re: Localization

Joined:
2005/8/17 16:00
From Germany
Group:
Member
Posts: 2058
Offline
Quote:

damir101 wrote:
Instaed of using FlexCat can I copy & rename existing .ct file and then edit it?


Yes. But some .CT aren't up to date (i.e. the are missing strings)

Quote:

Another thing is missing keyboard support.
How does one create an keymap file?


They keymap drivers are written in C and are available in:
workbench/devs/keymaps

Posted on: 2009/12/21 0:42
_________________
AROS - Make code, not war
Transfer the post to other applications Transfer


Re: Localization

Joined:
2011/9/3 10:12
From Sweden
Group:
Member
Posts: 24
Offline
I have started to translate wanderer into swedish, is there any way to test (I.E create a "binary" Svenska.catalog) for wanderer to try it out directly on my system?
Or does it require an entire OS compile just to try it out?
Details on the net are a bit sketchy on what to do next

I had no luck getting the sources to compile (native compile, Icaros 1.5.1).

But I have wanderers ct file ready to rock, and will be looking at doing all the files in the above gargantuan list eventually, aiming for full Swedish support

Subversion is something i'll look at, have avoided such tools until now though,
Im still doing it the way I learned 16 years ago.. Things have changed "a bit" in that time it seems

Any tips appreciated.

Posted on: 2013/5/5 11:35
_________________
Windows 98 is the only OS I dont miss a bit.. at least it frustrated me enough to try linux and other free operating systems.
Transfer the post to other applications Transfer


Re: Localization

Joined:
2004/3/29 9:54
From Scotland "The Cold"
Group:
Member
Posts: 1711
Offline
Quote:

hean8209 wrote:
I have started to translate wanderer into swedish, is there any way to test (I.E create a "binary" Svenska.catalog) for wanderer to try it out directly on my system?
Or does it require an entire OS compile just to try it out?
Details on the net are a bit sketchy on what to do next

I had no luck getting the sources to compile (native compile, Icaros 1.5.1).

But I have wanderers ct file ready to rock, and will be looking at doing all the files in the above gargantuan list eventually, aiming for full Swedish support

Subversion is something i'll look at, have avoided such tools until now though,
Im still doing it the way I learned 16 years ago.. Things have changed "a bit" in that time it seems

Any tips appreciated.


The locale stuff is currently going through a bit of rework on ABI v1 - in particular the filenames use the English version now to prevent issues on filesystems that don't like accents and such (this is true for the flag, country files, and the directory in which catalogs are stored).

I don't think this stuff will be backported to ABI v0 - but then again stranger things have happened ;p

Anyhows, regarding your question - yes you can just build the necessary stuff. You need to get wanderer.cd and your translated .ct - and pass those into flexcat to get the wanderer.catalog file for your language.

Posted on: 2013/5/5 11:49
_________________
Click to see original Image in a new window
Transfer the post to other applications Transfer


Re: Localization

Joined:
2011/9/3 10:12
From Sweden
Group:
Member
Posts: 24
Offline
Thanks for that info and the quick reply, I will have to keep an eye out for locale changes in ABIv1 and adapt to those as they come.

Next problem (flexcat hates me )

Using "flexcat wanderer.cd,svenska.ct,wanderer.catalog" gives me the error
"Unexpected end of file - missing catalog strings"..

Despite the file being generated from that same wanderer.cd,
no lines added, none removed, using the same flexcat version,
on the same system.

Checking the other translation files all of them have different number of lines in them O.o, so I dont know what is up with that or how many lines are normal
in a valid ct file.

I have triple checked, and line for line (except language of course),
all lines match up to the original, so flexcat should not complain, yet it does

Posted on: 2013/5/5 12:51
_________________
Windows 98 is the only OS I dont miss a bit.. at least it frustrated me enough to try linux and other free operating systems.
Transfer the post to other applications Transfer


Re: Localization

Joined:
2011/6/30 19:50
Group:
Member
Posts: 2867
Offline
Quote:
kalamatee wrote:
You need to get wanderer.cd and your translated .ct - and pass those into flexcat to get the wanderer.catalog file for your language.

Seeing hean8209's question. are you sure that .cd is in sync with with hean8209's version of wanderer ? {perhaps he is on abi v0, using icaros 1.2 ?)

Posted on: 2013/5/5 13:39
Transfer the post to other applications Transfer



(1) 2 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
3637
2 nikolaos
nikolaos
3451
3 phoenixkonsole
phoenixkonsole
2981
4 magorium
magorium
2867
5 deadwood
deadwood
2315
6 mazze
mazze
2058
7 clusteruk
clusteruk
2052
8 ncafferkey
ncafferkey
2048
9 damocles
damocles
1788
10 Kalamatee
Kalamatee
1711
© 2004-2013 AROS Exec