leslie-tsang commented on a change in pull request #6370:
URL: https://github.com/apache/apisix/pull/6370#discussion_r812511950
##########
File path: docs/zh/latest/plugin-develop.md
##########
@@ -37,6 +38,51 @@ title: 插件开发
- [编写测试用例](#编写测试用例)
- [附上 test-nginx 执行流程](#附上-test-nginx-执行流程)
+此文档是关于 lua 语言的插件开发,其他语言请看:[external plugin](./external-plugin.md)。
+
+## 插件放置路径
+
+Apache APISIX 提供了两种方式来添加新的功能。
+
+1. 修改 Apache APISIX 的源代码并重新发布 (不推荐)。
+1. 配置 `extra_lua_path` 和 `extra_lua_cpath` 在 `conf/config.yaml`以加载你自己的代码文件。
你应该给自己的代码文件起一个不包含在原来库中的名字,而不是使用相同名称的代码文件,但是如果有需要,你可以使用这种方式覆盖内置的代码文件。
Review comment:
> 你应该给自己的代码文件起一个不包含在原来库中的名字
It looks strange to me, can you try to optimize the translation?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]