PHP
PHP best practice tip: commas in arrays
Andreas — Sat, 2009-01-10 03:18
Something I discovered by accident. The array() constructor allows a comma (,) after the last item. This helps me and saves me time by avoiding bugs. I'll show you...
Add language and import translations through profile in Drupal 6
Andreas — Sat, 2009-01-03 01:27
UPDATE: this post is deprecated. Please read Add translation during the installation - the proper way instead.
At work were developing sites almost exclusively in Drupal 6, except for our own self developed E-business solution. Most of our site are in swedish, so I've found a way to add swedish and import all the available .PO-files. I do this in our own installation profile.