# Translator

This component implements the translation callbacks and methods. It has a useful `get_string` method for getting a string from the `strings` [configuration](https://docs.hivepress.io/developer-docs/framework/configurations). For example, you can get the "Listings" word this way:

```php
hivepress()->translator->get_string( 'listings' );
```

You can also get the current language and region codes with the `get_language` and `get_region` methods.
