Oscommerce语言安装问题
我是 oscommerce 的新手。我正在尝试安装一些语言包(德语,法语)。我成功完成安装,但是当我从前端更改语言时,收到此警告:
警告:oscTemplate::include(includes/languages/french/modules/boxes/bm_categories.php) [osctemplate.include]:无法打开流:第 86 行 D:\wamp\www\osc\includes\classes\osc_template.php 中没有这样的文件或目录
实际上有很多这样的警告。我在英语中找到的这些语言的模块文件夹中找不到action_recorder、boxes、header_tags、social_bookmarks。我认为这些丢失的文件夹正在造成问题。我该如何解决这个问题?有什么想法吗?
I am new to oscommerce. I am trying to install some language pack(german, french). I finished installing successfully but when I change the language from front-end, I get this warning:
Warning: oscTemplate::include(includes/languages/french/modules/boxes/bm_categories.php) [osctemplate.include]: failed to open stream: No such file or directory in D:\wamp\www\osc\includes\classes\osc_template.php on line 86
Actually many warning like this. I could not find action_recorder, boxes, header_tags, social_bookmarks in the module folder of these language Which I found in english language. I think these missing folders are creating problem. How can I solve this problem? any idea?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来好像您安装的语言包不完整,纠正此错误的方法是记录每个警告,找到该模块的语言文件并将其放入正确的语言文件夹中。
查找语言文件的提示是在英语语言文件夹(includes/languages/english/)中查找正确的文件(bm_categories.php),将它们翻译成所需的语言,然后将它们放入正确的语言文件夹中。
例子:
1.下载此文件
include/languages/english/modules/boxes/bm_categories.php
翻译成法语
上传到服务器到此文件夹中
include/languages/french/modules/boxes/
It sounds as if the language pack you have installed is incomplete, the way to correct this error is to record each warning, locate the language file for that module and place it into the proper language folder.
A tip to finding the language file would be to look in the english language folder (includes/languages/english/) for the correct files (bm_categories.php), translate them to the necessary language, and then place them into the proper language folder.
Example:
1. Download this file
includes/languages/english/modules/boxes/bm_categories.php
Translate into french
Upload to the server into this folder
includes/languages/french/modules/boxes/