Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有一种方法可以只使用 Weblate 中的一个组件来翻译多个目录中的多个文件(.properties)?我知道我可以将单个组件用于 Git 中的单个目录,但在我的情况下我有很多目录。
我的分支有几个目录,每个目录都包含几个翻译文件。
例如
具体目标:是否可以用德语翻译一个键,但只能用于一个特定的目录?
我已经实现了翻译文件,但前提是它们都在同一路径中。
感谢进行中
您可以在路径中的任何位置使用语言通配符,但一个组件内的路径只能在语言名称上有所不同。
例如,您可以使用类似的东西languagetool-language-modules/*/src/main/resources/org/languagetool/MessagesBundle_*.properties
languagetool-language-modules/*/src/main/resources/org/languagetool/MessagesBundle_*.properties