Check: HTML validity, CSS validity, links.

PerlPoint PerlPointCD
Start / Lightning Talks / Jochen Stenzel

Language support

Not all CD text in generated pages is produced from source files. There are phrases that are inserted automatically, like "Proceedings" as title of the link generated to a speakers additional materials.

The language these texts are written in is set by a makefile macro DEFAULT_LANGUAGE. It is optional and defaults to en, which means English. As this tool was developed for the German Perl Workshop, the second language setting currently supported is de (for German). More languages can be easily added on request.

So a call of make can use this macro to configure the default language settting:


  make DEFAULT_LANGUAGE=de

If this is a permanent setting for a project, it is easier to edit this setting inside the makefile:


  # default language (falls back to "en")
  DEFAULT_LANGUAGE=de

Nevertheless, not all speakers provide abstracts in the default language, which can lead to inconsistent pages.


  If the default language is German, "Unterlagen"
  below an English abstract doesn't look perfect.

So the language setting can be modified for every single page, in a file named <directory level type>.lang (author.lang, talk.lang etc.). The language shortcut is expected in the first line. Here is an example:


  de

Index-related: