Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Welcome to the CollectiveAccess support forum! Here the developers and community answer questions related to use of the software. Please include the following information in every new issue posted here:

  1. Version of the software that is used, along with browser and version

  2. If the issue pertains to Providence, Pawtucket or both

  3. What steps you’ve taken to try to resolve the issue

  4. Screenshots demonstrating the issue

  5. The relevant sections of your installation profile or configuration including the codes and settings defined for your local elements.

If your question pertains to data import or export, please also include:

  1. Data sample

  2. Your mapping

Answers may be delayed for posts that do not include sufficient information.

Pawtucket2 - problem with multilingual templates and compilation

There is a problem with compiling multilingual templates in pawtucket2.
The problem occurs in both cases - using 2 files for different language or using _t() function in the same file.
The effect can be seen in the attached files - you see in the en broken parsing of the tags
The broken variant is the one, opened second.

Changing the compile function in View.php file from

public function compile($ps_filepath, $pb_force_recompile=false) {...
public function compile($ps_filepath, $pb_force_recompile=true) {...
(forcing recompile)
solves the problem, but this is not real solution.

I think the verification if the view is compiled should include somehow the current language for real solution

en.png 368.8K
bg.png 366.6K


  • Good point. I don't think anyone has used Pawtucket2 for a multilingual setup yet. There should definitely be locale-specific compiled templates
Sign In or Register to comment.