简体   繁体   中英

totaljs --translate command does not find all texts for translation , despite wrapped in ‘@()’ tag

I followed this documentation and executed total.js --translate command in the root directory of total.js eshop app. But many words despite wrapped in '@()' tag not available for translation in the created file.

For example “@(Category),@(Manufacturer),@(Availability),@(In stock), and more” in product template ( /themes/default/views/cms/product.html ) don't exist in created “translate.resource” file.

What is the problem here or what am I doing wrong?

Which version of Total.js are you using? Try to install latest beta version of Total.js framework as a global module: $ npm install -g total.js@beta and try again --translate . If your problem still persists, write me an email at info@totaljs.com

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM