1: <?php
2:
3: /**
4: * @copyright Copyright (c) 2009-2022 ThemeCatcher (https://www.themecatcher.net)
5: */
6: class Quform_Translations
7: {
8: /**
9: * Load the plugin translated strings
10: */
11: public function load()
12: {
13: load_plugin_textdomain('quform', false, basename(QUFORM_PATH). '/languages/');
14:
15: if (apply_filters('quform_use_traduttore', true)) {
16: \Quform\Traduttore_Registry\add_project(
17: 'plugin',
18: 'quform',
19: 'https://support.themecatcher.net/glotpress/api/translations/quform/'
20: );
21: }
22: }
23: }
24: