# Magento2有的js翻译无效，该怎么解决呢？

**URL:** https://forum.magentochina.org/t/magento2%E6%9C%89%E7%9A%84js%E7%BF%BB%E8%AF%91%E6%97%A0%E6%95%88%EF%BC%8C%E8%AF%A5%E6%80%8E%E4%B9%88%E8%A7%A3%E5%86%B3%E5%91%A2%EF%BC%9F/355
**Category:** Magento 2.X
**Created:** [2018 年3 月 20 日 01:55 UTC](https://forum.magentochina.org/t/magento2%E6%9C%89%E7%9A%84js%E7%BF%BB%E8%AF%91%E6%97%A0%E6%95%88%EF%BC%8C%E8%AF%A5%E6%80%8E%E4%B9%88%E8%A7%A3%E5%86%B3%E5%91%A2%EF%BC%9F/355 "2018-03-20T01:55:04Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### 作者： ![Shuai](https://forum.magentochina.org/user_avatar/forum.magentochina.org/shuai/32/3_2.png) [@Shuai](https://forum.magentochina.org/u/Shuai)
#### 发布日期： [2018 年3 月 20 日 11:35 UTC](https://forum.magentochina.org/t/magento2%E6%9C%89%E7%9A%84js%E7%BF%BB%E8%AF%91%E6%97%A0%E6%95%88%EF%BC%8C%E8%AF%A5%E6%80%8E%E4%B9%88%E8%A7%A3%E5%86%B3%E5%91%A2%EF%BC%9F/355/2 "2018-03-20T11:35:28Z")

</div>

> [@请问Magento2中的js怎么实现语言包功能。](https://forum.magentochina.org/t/%E8%AF%B7%E9%97%AEMagento2%E4%B8%AD%E7%9A%84js%E6%80%8E%E4%B9%88%E5%AE%9E%E7%8E%B0%E8%AF%AD%E8%A8%80%E5%8C%85%E5%8A%9F%E8%83%BD%E3%80%82/57):
>
> 请问js中的怎么用语言包，按照php语言包设置了但是没有生效。

Magento的javascript一直有问题，不能自动翻译的地方，就手动吧

---

_[View the full topic](https://forum.magentochina.org/t/magento2%E6%9C%89%E7%9A%84js%E7%BF%BB%E8%AF%91%E6%97%A0%E6%95%88%EF%BC%8C%E8%AF%A5%E6%80%8E%E4%B9%88%E8%A7%A3%E5%86%B3%E5%91%A2%EF%BC%9F/355)._
