Hi!
The Kijkwijzer extension is in Dutch because it is the Motion picture rating system of The Netherlands.
France is using a totally different system:
http://rating-system.wikia.com/wiki/French_Movie_Rating_System
The Kijkwijzer is however fully translatable. You can find the English texts here:
http://www.kijkwijzer.nl/english
If you’d like to provide a French translation, I would be more than happy to include it in the extension.
Jeroen
Thanks for the quick feedback!
The Kijkwijzer extension is in Dutch because it is the Motion picture rating system of The Netherlands.
I know, but the icons are awesome 😉
Indeed, I’m in Switzerland which uses Germany’s FSK plus some adjustments. So I’d just need an extra “18” icon, which I can make myself: which font did you use?
I didn’t use a font. I used the SVGs that you can also find on Wikipedia.
You can find the icons inside the assets folder of the extension.
I see, thanks!
BTW, is there a way to show icons on production pages (without manually adding shortcodes)? Maybe I’m missing something, but I don’t see any template for productions…
If you want to create a template for productions, you need to create a new single-wp_theatre_prod.php
template file inside your theme folder.
You can then show the Kijkwijzer icons inside the new template using this code:
$production = new WPT_Production();
echo $production->custom( 'kijkwijzer', array( 'html' => true ) );
Here me back after some hacking (pretty new to WP dev).
Actually putting the Kijkwijzer in an upstream theme template prevents proper integration with the production’s contents — it can only be shown before or after the whole production content.
Thus, I implemented it inside the Kijkwijzer plugin itself via a filter hooked to the wpt_production_page_content()
. Since I was at it, also added admin options to toggle the display (for now in a fixed place) and to use German/Swiss FSK icon variants.
Finally, I refactored a bit the code to handle translations.
Jeroen, if you’re interested, I can provide offline the code and extra icons.
I would love to see what you did. Can you send the code to jeroen@slimndap.com.
I’m planning on releasing extensions for many more rating systems in different countries. So far, I released extensions for the US, UK and NL.