class-easy-charts-i18n.php 961 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. /**
  3. * Define the internationalization functionality
  4. *
  5. * Loads and defines the internationalization files for this plugin
  6. * so that it is ready for translation.
  7. *
  8. * @link https://kiranpotphode.com/
  9. * @since 1.0.0
  10. *
  11. * @package Easy_Charts
  12. * @subpackage Easy_Charts/includes
  13. */
  14. /**
  15. * Define the internationalization functionality.
  16. *
  17. * Loads and defines the internationalization files for this plugin
  18. * so that it is ready for translation.
  19. *
  20. * @since 1.0.0
  21. * @package Easy_Charts
  22. * @subpackage Easy_Charts/includes
  23. * @author Kiran Potphode <kiranpotphode15@gmail.com>
  24. */
  25. class Easy_Charts_i18n {
  26. /**
  27. * Load the plugin text domain for translation.
  28. *
  29. * @since 1.0.0
  30. */
  31. public function load_plugin_textdomain() {
  32. load_plugin_textdomain(
  33. 'easy-charts',
  34. false,
  35. dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
  36. );
  37. }
  38. }