README revision d2e42b9425ccd4c2d4c20c2217455da177035e48
8423783bd0292301d78ad19be580fbc4deafd441Danny MayerThis folder contains the templates for new documents created in Inkscape. You will
39f68d7b64dce25e19f7132f6c46b3beabeed492Tinderbox Usernormally see them listed in the File > New submenu. A template may store any
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrewsdocument-specific settings (such as initial zoom and view, paper size, background and
8423783bd0292301d78ad19be580fbc4deafd441Danny Mayerborders, metadata, window geometry, grid and guide settings, export hints) as well as
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updaterany objects. To add a new template, simply save or copy it in this folder; nothing else
8423783bd0292301d78ad19be580fbc4deafd441Danny MayerFiles of the mask default.*.svg are the translations of default.svg template into
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrewsdifferent languages. The default.svg itself is in English. These translations contain
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrewsa translated name of the default layer and possibly different canvas size. Each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrewslanguage version of Inkscape will only use one of these templates and ignore the rest.
dafcb997e390efa4423883dafd100c975c4095d6Mark AndrewsInternationalization
dafcb997e390efa4423883dafd100c975c4095d6Mark AndrewsThis file is internationalized the same way as share/filters/filters/svg
8423783bd0292301d78ad19be580fbc4deafd441Danny MayerThe i18n.py script called from the makefile will extract strings from the *.svg
8423783bd0292301d78ad19be580fbc4deafd441Danny Mayerinto a *.svg.h file. Intltool is then able to extracts these strings just like
2f4561bc9cd5e5cdc58e29e600303c812f6902eeAutomatic Updaterfrom normal .h files.
8423783bd0292301d78ad19be580fbc4deafd441Danny MayerThe internationalized default files (A4 only) are created using the
8423783bd0292301d78ad19be580fbc4deafd441Danny MayerPERL script "create_defaults.pl" and are based on default.svg. To add
8423783bd0292301d78ad19be580fbc4deafd441Danny Mayera new language, add it to the database at the beginning of the PERL
2ac8f5841292b75f8ec2880ffb1576b0910eecffEvan Huntscript. (You'll also need to edit Makefile.am and the appropriate 'po'