Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2000-09

Resource files and internationalisation (Linux)

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Konstantin Muenning

Hello.

I don't remember if this subject has been already discussed here so I ask.

What about resource files and FPC? I can remember that for DOS/Windows programs you can use the same resource files like generated by the Borland Resource Workshop (was it mentioned in the docs?).

But what about Linux? What kind of resources are supported there and are there any graphical/non-graphical input tools (maybe some C-ish/GNU-ish thing)?

Another thing some kind connected to the resource files is the internationalisation of software (and of course the localisation). Has anybody some experience with this? What about UTF-16 (Unicode) support? Or the best Unicode resource files?

If there is nothing about this around there what would be the interest to start a FPC-Resource project? In the near future I will have to deal with (well, to write) internationalised software and if there is nothing about this yet it would make sense to make it together and for general use.

Maybe another crazy idea but what about a FPC version (or command line option) for supporting Unicode (UTF-16) input files? With a proper editor you can directly enter text/string constants in any language you may need. Any comments?

Have a nice day,
Konstantin Münning ,,,
-------------------------------/'^'\------------------------------------ www.muenning.com ( o o )
--------------------------oOOO--(_)--OOOo------------------------------- When all other means of communication fail, try words. (-O-)
Beware of Programmers who carry screwdrivers.
-- Leonard Brandwein
(-O-)
A mathematician is a machine for converting coffee into theorems.

Reply by email

Michael Van Canneyt
to Konstantin Muenning
Konstantin Muenning wrote 11 lines
Hello. I don't remember if this subject has been already discussed here so I ask. What about resource files and FPC? I can remember that for DOS/Windows programs you can use the same resource files like generated by the Borland Resource Workshop (was it mentioned in the docs?). But what about Linux? What kind of resources are supported there and are there any graphical/non-graphical input tools (maybe some C-ish/GNU-ish thing)?

Linux itself (or better, the ELF format) doesn't support resource sections AFAIK. Things are solved differently on linux.

Show quoted text 5 lines
Another thing some kind connected to the resource files is the internationalisation of software (and of course the localisation). Has anybody some experience with this? What about UTF-16 (Unicode) support? Or the best Unicode resource files?

1) the Resourcestring of Delphi is supported, and you can use GNU gettext to create language-specific files.
2) We have some code for unicode support; we're working on adding support for unicode (or codepage) support in the compiler itself.

Show quoted text 5 lines
If there is nothing about this around there what would be the interest to start a FPC-Resource project? In the near future I will have to deal with (well, to write) internationalised software and if there is nothing about this yet it would make sense to make it together and for general use.

The gettext support for resourcestrings is ready; It would be good to write an alternate module for windows which stores international strings in resource dlls - I had this planned, but due to lack of time not yet implemented.

Maybe another crazy idea but what about a FPC version (or command line option) for supporting Unicode (UTF-16) input files? With a proper editor you can directly enter text/string constants in any language you may need.

As I stated above, this is being worked on.

Michael.

Reply by email