
|
84799 packages online
|
|
 |
|
dev/c/c2local.lha |
|
No screenshot available
|
Short: | V1.0, automatic localization for C/C++ sourcecodes |
Author: | meixner rbg.informatik.th-darmstadt.de (Matthias Meixner) |
Uploader: | meixner rbg informatik th-darmstadt de (Matthias Meixner) |
Type: | dev/c |
Architecture: | m68k-amigaos |
Date: | 1995-07-04 |
Download: | dev/c/c2local.lha - View contents | Readme: | dev/c/c2local.readme |
Downloads: | 734 |
|
Background
----------
From version 2.1 of the Amiga operatingsystem on, it is possible to generate
programs that support more than one language. One language is compiled into
the program and the other languages are stored in the so called catalogs.
The operatingsystem determines the language on runtime and loads the corres-
ponding catalog. If you want to write a program that supports catalogs, you
must replace all strings by a localizeable version, since the strings are not
the same in all languages. The goal of C2Local was to allow the programmer to
continue programming in the old way, using normal strings, since such source-
code is more readable, and then automatically generate a localized version of
this program. C2Local allows this for nearly all C and C++ sourcecodes. Pro-
grams like CatComp generate sourcecode to access localized strings, but the
programmer must adapt his program by hand. "Localize" is able to patch source-
codes to support locale.library, but it leaves many cases, which cannot be
automatically localized, e.g. the static initialization of structures. Now
C2Local can even localize most of these cases. There is only one exception:
the static initialization of char-arrays.
e.g.
char a[]="test";
cannot be localized automatically, but the more important case
char *a="test"
can be localized using C2Local. This latter case is far more often used, e.g.
it is required for static initialization of menus. Therefore one can localize
menus or gadgets without any problems using C2Local.
|
Contents of dev/c/c2local.lha
PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 271 628 43.2% -lh5- 8b30 Apr 27 1995 c2local.info
[generic] 32137 62260 51.6% -lh5- f355 Jun 30 1995 c2local/Bin/c2local
[generic] 555 1026 54.1% -lh5- 9658 Jun 30 1995 c2local/Bin/catalogs/deutsch/c2local.catalog
[generic] 355 544 65.3% -lh5- c77a Jun 30 1995 c2local/Bin/catalogs/deutsch/ccomp.catalog
[generic] 276 414 66.7% -lh5- b0c8 Jun 30 1995 c2local/Bin/catalogs/deutsch/ctmerge.catalog
[generic] 261 394 66.2% -lh5- 423c Jun 30 1995 c2local/Bin/catalogs/deutsch/strmerge.catalog
[generic] 22998 42964 53.5% -lh5- 0e98 Jun 30 1995 c2local/Bin/ccomp
[generic] 21532 40592 53.0% -lh5- bc2d Jun 30 1995 c2local/Bin/ctmerge
[generic] 22148 41276 53.7% -lh5- 4175 Jun 30 1995 c2local/Bin/strmerge
[generic] 5851 16797 34.8% -lh5- 5738 Jun 30 1995 c2local/c2local.doc
[generic] 319 835 38.2% -lh5- 1356 Apr 27 1995 c2local/c2local.doc.info
[generic] 7035 19292 36.5% -lh5- a8eb Jun 30 1995 c2local/c2local.dok
[generic] 315 835 37.7% -lh5- 5008 Apr 27 1995 c2local/c2local.dok.info
[generic] 274 628 43.6% -lh5- 0778 Jun 17 1995 c2local/Example.info
[generic] 919 1958 46.9% -lh5- d9ad Jun 30 1995 c2local/Example/Beispiel.dok
[generic] 314 835 37.6% -lh5- 8eec Jun 17 1995 c2local/Example/Beispiel.dok.info
[generic] 153 194 78.9% -lh5- 5aba Jun 30 1995 c2local/Example/deutsch.ct
[generic] 63 63 100.0% -lh0- a0dc Jun 30 1995 c2local/Example/edit_script
[generic] 904 1978 45.7% -lh5- fc81 Jun 30 1995 c2local/Example/Example.doc
[generic] 314 835 37.6% -lh5- ed02 Jun 17 1995 c2local/Example/Example.doc.info
[generic] 99 122 81.1% -lh5- d975 Jun 30 1995 c2local/Example/hello.c
[generic] 32 32 100.0% -lh0- 87eb Jun 30 1995 c2local/Example/hello_change.str
[generic] 340 746 45.6% -lh5- 107c Jun 30 1995 c2local/Example/makelocal
[generic] 1302 2788 46.7% -lh5- 94aa Jun 30 1995 c2local/liesmich
[generic] 315 835 37.7% -lh5- 8e71 Apr 27 1995 c2local/liesmich.info
[generic] 1186 2534 46.8% -lh5- a806 Jun 30 1995 c2local/readme
[generic] 318 835 38.1% -lh5- 0e6f Apr 27 1995 c2local/readme.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 27 files 120586 242240 49.8% Jul 4 1995
|
|
|
 |
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |