Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there something for Internationalization in Php (PhpStorm) as we have in Java (Intellij IDEA)

When developing a Java application I can use a ResourceManger for internationalization (i18n). Many IDEs (like for example Intellij IDEA) support these files - I can click on the id in the call to the ResourceManager and get directly to the resource file. I can see in the resource file wich ids are actually used in the application and I have a graphical editor:

enter image description here

Is there something similar for PHP? In the application I am developing, we have a self-developed tool for i18n - clearly there is no IDE-support for that. I'd love to have similar IDE support in for example PhpStorm, since the power of the IDE support is blasting. What are possible solutions to this problem? Is it possible to do that in PhpStorm?

like image 351
Mathias Bader Avatar asked Sep 30 '22 09:09

Mathias Bader


1 Answers

Yes PHP has Gettext support. For PHPStorm its maybe difficult. but you can still use decent 3rd party apps for it such as POEdit

like image 164
risyasin Avatar answered Oct 02 '22 15:10

risyasin