More Language Updates

ProcessWire now comes with a multi-language site profile

This morning I finished packaging up a multi-language version of the Default Site Profile for ProcessWire 2.5. This was one of the final tasks to do before putting out the first release candidate of 2.5. This multi-language site profile includes a site in 3 languages: English, German and Finnish. it demonstrates most of the multi-language features available for front-end output in ProcessWire.

On the admin side, I included the German language pack along with all of Manfred62's great updates to it. I didn't include the Finnish language pack because it's not yet updated for PW 2.5, and it might be too much to bundle two language packs in the core. (Language packs are small in file size, but do consist numerous files). By that token, maybe we shouldn't include the German language pack either, but I figured we'd give the idea a test drive and see. It certainly is a better demonstration if you can see PW's admin fully translated.

For the front-end site profile, I copied and pasted translations from Google Translate, so chances are the translations aren't great. If any of you in Germany or Finland want to make a better translation, it would be great. See instructions at the end of this post.

Language translation files now split by site and core

Something that has come up several times is that people don't like getting their static site translation files mixed in with language pack files. With language packs now having more than a hundred files, it's understandably a bit clumsy to manage these in the same field as your site translation files. We've fixed this so that now you have 2 separate file fields for each language: one for your site files (/site/), and the other for language packs (/wire/). Though you can choose to use them however you wish, as ProcessWire doesn't enforce only /site/ or /wire/ in either one of them… rather it's just a suggestion. But hopefully this will greatly simplify management of static translation files and language packs in ProcessWire.

How to make a new translation of the multi-language profile

  1. Grab the latest dev of ProcessWire (currently 2.4.17) and install it with the Multi-Language profile (it asks you which profile at install time).
  2. Edit and translate any of the pages as you see fit (all of the text fields are multi-language).
  3. We also have just a couple static translations in two template files: _main.php and search.php. These can be modified in Setup > Languages.
  4. Install this latest version of the profile exporter (download ZIP) and go to Setup > Export Site Profile.
  5. Export to a ZIP file and PM to ryan in the forums. Thanks!
 

NextProcessWire 2.5.1 updates

1

With 2.5 released last week, we focused this week on tweaking some details with admin navigation. Included are details on what's been added, as well as documentation for how to expose navigation to admin themes with your Process modules. More 

Latest news

  • ProcessWire Weekly #515
    In the 515th issue of ProcessWire Weekly we’ll check out the latest core updates, new modules, and more. Read on!
    Weekly.pw / 23 March 2024
  • Invoices Site Profile
    The new invoices site profile is a free invoicing application developed in ProcessWire. It enables you to create invoices, record payments to them, email invoices to clients, print invoices, and more. This post covers all the details.
    Blog / 15 March 2024
  • Subscribe to weekly ProcessWire news

“We chose ProcessWire because of its excellent architecture, modular extensibility and the internal API. The CMS offers the necessary flexibility and performance for such a complex website like superbude.de. ProcessWire offers options that are only available for larger systems, such as Drupal, and allows a much slimmer development process.” —xport communication GmbH