在Php(PhpStorm)中是否存在像Java一样的国际化(Intellij IDEA)(Is there something for Internationalization in Php (Ph

编程入门 行业动态 更新时间:2024-10-25 00:27:33
在Php(PhpStorm)中是否存在像Java一样的国际化(Intellij IDEA)(Is there something for Internationalization in Php (PhpStorm) as we have in Java (Intellij IDEA))

在开发Java应用程序时,我可以使用ResourceManger进行国际化(i18n)。 许多IDE(例如Intellij IDEA)支持这些文件 - 我可以在调用ResourceManager时单击id并直接获取资源文件。 我可以在资源文件中看到,在应用程序中实际使用了id,我有一个图形编辑器:

PHP有类似的东西吗? 在我正在开发的应用程序中,我们有一个自行开发的i18n工具 - 显然没有IDE支持。 我很乐意在例如PhpStorm中提供类似的IDE支持,因为IDE支持的强大之处在于爆破。 这个问题的可能解决方案是什么? 是不是可以在PhpStorm中做到这一点?

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:

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?

最满意答案

是的PHP有Gettext支持。 对于PHPStorm来说,它可能很难。 但你仍然可以使用体面的第三方应用程序,如POEdit

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

更多推荐

本文发布于:2023-08-06 15:11:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1450385.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:是否存在   PhpStorm   Php   Java   Internationalization

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!