Title: New custom strings in function.php
Last modified: July 4, 2022

---

# New custom strings in function.php

 *  [djbo5a5](https://wordpress.org/support/users/djbo5a5/)
 * (@djbo5a5)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/new-custom-strings-in-function-php/)
 * Hello, I have noticed that new custom string translations not working if I add
   them to any function in the file function.php. Should it work? If yes, could 
   you give me an example?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/new-custom-strings-in-function-php/#post-15804531)
 * Hello,
 * I recommend you to read [https://developer.wordpress.org/themes/functionality/internationalization/](https://developer.wordpress.org/themes/functionality/internationalization/)
   as well as [https://developer.wordpress.org/apis/handbook/internationalization/localization/](https://developer.wordpress.org/apis/handbook/internationalization/localization/)

Viewing 1 replies (of 1 total)

The topic ‘New custom strings in function.php’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Chouby](https://wordpress.org/support/users/chouby/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/new-custom-strings-in-function-php/#post-15804531)
 * Status: not resolved