Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
i18next 翻译问题
我仍然尝试使用 i18next 来翻译我的 jQuery 应用程序 解决了一些一般问题后 此处解决 如何使用i18next 翻译问题 https stackoverflow com questions 13005791 how to use
javascript
html
jquerymobile
internationalization
i18next
Marionette.Renderer、Underscore 模板和 i18next 国际化
我们目前需要使用 Backbone Marionette 和下划线模板向中型应用程序添加国际化 经过一番彻底的研究后 出现了两种有效的选择 下属18n https github com ggozad underi18n它提供与下划线的直接集
internationalization
marionette
i18next
underscorejstemplating
i18next 翻译外部组件
我是 i18next 的新手 正在尝试本地化 翻译网站 一切都适用于组件内部的翻译 但在外部 意味着带有 i18n t 的 json 文件 它不会检索所需的信息 而是显示默认值 我正在使用 create react app 它是文件夹引用的
json
i18next
reacti18next
(0, _reactI18next.translate) 不是函数
实际上 我是本地反应新手 在这里我尝试使用 react i18next 将语言更改为阿拉伯语 但在执行时出现以下错误 ReactNativeJS 0 reactI18next translate 不是一个函数 在 0 reactI18nex
ReactNative
i18next
serverSideTranslations 不适用于动态路由
我在互联网上做了一些研究 根据文档和其他答案 我无法使其发挥作用 所以现在我一无所知 我有一个动态路线并翻译索引 这在构建时不起作用 路径是 user id index js export const getStaticPaths loca
Nextjs
internationalization
i18next
获取 i18next 翻译器 缺少密钥
这是我第一次使用 i18next 我不知道如何让它发挥作用 这似乎是文档 http i18next com docs 对我来说是不完整的 这是我使用 i18next 的 HTML 代码
i18next
i18next 检查未使用的翻译
我想知道是否有人知道检查未使用翻译的好方法 工具 包 我见过它用于 Rails 例如 i18n tasks 但没有用于 React 我目前正在使用react i18next 但它可以是任何可以查看您的翻译文件的内容 预先非常感谢 列出未使用
javascript
ReactJS
translation
i18next
reacti18next
i18next加载json错误(404 Not Found)
这是我在index html 的代码 p p
json
httpstatuscode404
i18next
错误:您正在传递未定义的模块!请检查您传递给 i18next.use() 的对象
由于上述问题 我的单元测试失败了 String ts import as i18n from i18next import initReactI18next from react i18next import BrowserLanguage
i18next
reacti18next
获取当前语言 next-i18next
我将 NextJS 与 next i18next 一起使用 这是我的主页 import withTranslation from config next i18next const Home function Home return div
nodejs
ReactJS
internationalization
Nextjs
i18next
动态翻译/使用 i18next 进行变量翻译
为什么我不能动态翻译 在 i18next 中使用变量 例如在我的 JS 文件中我得到了这个 这里我使用一个变量并将其分配给 i18n 函数 但它不起作用 this does not work var dynamicTranslation m
javascript
internationalization
i18next
获取 i18next 以回退到“无翻译”
如果没有找到该键的翻译 默认情况下 i18next 翻译库似乎会回退到翻译键 例如 No translation defined for CANCEL yet i18next t CANCEL Returns CANCEL 如果没有找到该密
javascript
translation
i18next
在 i18next 中转义特殊字符
所以我有这个变量 它将包含类似 的内容 然后我有这个 var vocab mm responses positive lngs LANG target User tag amount r multiplier icon iconFile 这
nodejs
i18next
i18next 显示键而不是值
I have translation json文件输入 locales en app name Example App In html 我有 a href In js document ready function var language
javascript
jQuery
html
internationalization
i18next
如何在玩笑中模拟react-i18next和i18n.js?
包 json moduleNameMapper i18next
ReactJS
jestjs
i18next
reacti18next
i18next.services.pluralResolver.addRule 返回 addRule 的未定义
import i18next from i18next import LanguageDetector from i18next browser languagedetector const locales en GB pl PL expo
i18next
next-i18next 使用 Link 和 jest 进行单元测试错误“无法读取未定义的属性语言”
next i18next使用它自己的Link组件与区域设置子路径兼容 https github com isaachinman next i18next https github com isaachinman next i18next 当
ReactJS
jestjs
Nextjs
i18next
nexti18next
使用 gatsby-plugin-react-i18next 时 Gatsby 找不到客户端路由
我正在 Gatsby 中使用客户端路由gatsby plugin react i18next 当我尝试在不使用默认语言的情况下访问其中一个客户端路由时 例如url 前缀为 sv 然后我发现该路线不存在 如果我添加前缀 sv到路由器基本路径
gatsby
i18next
reachrouter
Typescript i18next 不满足约束 'string |模板字符串数组 NextJS
我正在尝试输入要使用 i18next 进行翻译的对象数组 但变量 navItems 中出现以下消息 我在其中声明 i18next 然后迭代该数组Type NavItemProps does not satisfy the constrain
ReactJS
typescript
Nextjs
internationalization
i18next
如何在 javascript 中使用 i18next 中的翻译
我知道我可以使用 i18next 来翻译 html 中的语言 例如 div div 但是有没有办法在 JS 中使用它 例如 如果我想做类似的事情 alert someKey 它应该是alert t someKey see http i18n
javascript
i18next
1
2
»