I'm testing this module out with views and localizer, and for some reason it does not work when in the French locale.
I currently have this in my Views header:
=== fr ===
Some French text goes here.
=== en ===
Some English text goes here.
When in English, the english text is displayed. When switching to the French locale, nothing is showing. I've got the filter setup on Full HTML and it seems to work ok, but only in English? Any clues. This is a nifty little module.
Thanks,
Rene
Comments
Comment #1
andy inman commentedWeird! I can only guess that the $locale variable is not set to "fr". Can you display $locale to check? For example create a node with some php content:
.. and see what it says.
Do you have any other languages installed that you can try? I confess I have only tested it with "en" and "es". The module itself is very simple, I can't imagine why it would fail with "fr" sepecifically, unless "fr" is not the current $locale.
Comment #2
andy inman commentedI installed French language on my site to test it and it worked correctly - I was specifically testing the "header" section of a view - it worked exactly as it should. Please try displaying the $locale variable to check what it contains.
Comment #3
andy inman commentedI'm closing this as unable to confirm that it really is an issue. As I explained, I can't duplicate it - the module works fine for me on my live site and my test site (both run Apache, one is Unbuntu and one is CentOs.)
Please let me know if this is still a problem for you with the current release.
Comment #4
andy inman commentedHave now seen this problem elsewhere, it's due to page caching which can happen in some installations. The latest version disables caching by default, so will work correctly.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.