[fpc-devel] translations of the errore.msg file

Mattias Gaertner nc-gaertnma at netcologne.de
Tue May 27 21:25:01 CEST 2014


Hi,

I'm looking at the fpc translation files (fpc/compiler/msg/*.msg) and
maybe these findings may be interesting to you as well:

errorct.msg:#   Catalan Language File for Free Pascal
errorda.msg:#   Danish Language File for Free Pascal
errord.msg:#   German (alternative, LATIN-US DOS) Language File for Free Pascal
errordu.msg:#   German (UTF-8) Language File for Free Pascal
errore.msg:#   English (default) Language File for Free Pascal
errores.msg:#   Spanish Language File for Free Pascal
errorfi.msg:#   French (ISO 8859-1) Language File for Free Pascal
errorf.msg:#   French (cp850) Language File for Free Pascal
errorhe.msg:#   Hebrew (CP1255) language file for Free Pascal Compiler
errorheu.msg:#   Hebrew (UTF8) language file for Free Pascal Compiler
errorid.msg:#   Indonesian Language File for Free Pascal
erroriu.msg:#   Italian Language File for Free Pascal
errorn.msg:#   Dutch Language File for Free Pascal in CP850 (just one line in help affected)
errorpli.msg:#   Polish (ISO 8859-2) Language File for Free Pascal
errorpl.msg:#   Polish (CP 852) Language File for Free Pascal
errorpt.msg:#   Portuguese (DOS CP850) language file for Free Pascal Compiler
errorptu.msg:#   Portuguese (UTF-8) language file for Free Pascal Compiler
errorr.msg:#   Russian (utf-8) Language File for Free Pascal
errorru.msg:#   Russian (utf-8) Language File for Free Pascal
errorues.msg:#   Spanish Language File for Free Pascal

To get a vague idea of the completeness of each translation I wrote a
small tool and here is the output:

errore.msg Count=985
errorct.msg Count=651 Good=635 Missing=334 Mismatch=16
errord.msg Count=973 Good=973 Missing=12 Mismatch=0
errorda.msg Count=666 Good=652 Missing=319 Mismatch=14
errordu.msg Count=973 Good=973 Missing=12 Mismatch=0
errores.msg Count=652 Good=633 Missing=333 Mismatch=19
errorf.msg Count=529 Good=455 Missing=504 Mismatch=26
errorfi.msg Count=675 Good=660 Missing=310 Mismatch=15
errorhe.msg Count=728 Good=711 Missing=257 Mismatch=17
errorheu.msg Count=728 Good=711 Missing=257 Mismatch=17
errorid.msg Count=727 Good=716 Missing=259 Mismatch=10
erroriu.msg Count=802 Good=796 Missing=183 Mismatch=6
errorn.msg Count=680 Good=666 Missing=305 Mismatch=14
errorpl.msg Count=654 Good=634 Missing=332 Mismatch=19
errorpli.msg Count=654 Good=634 Missing=332 Mismatch=19
errorpt.msg Count=916 Good=912 Missing=69 Mismatch=4
errorptu.msg Count=916 Good=912 Missing=69 Mismatch=4
errorr.msg Count=788 Good=782 Missing=197 Mismatch=6
errorru.msg Count=788 Good=782 Missing=197 Mismatch=6
errorues.msg Count=652 Good=633 Missing=333 Mismatch=19

A mismatch is a pattern which $ placeholders differ.

You can find the tool here:
lazarus/components/codetools/examples/scanfpcerrormsgfiles.lpr

Mattias



More information about the fpc-devel mailing list