-
-
Notifications
You must be signed in to change notification settings - Fork 377
Open
Labels
Status: Review NeededRequest for review commentsRequest for review comments
Description
Reporting a bug?
The error occurs when checking for translation using the te function. When checking a string without dots - the result is correct. But if the string contains a dot - the function for some reason shows that such translation doesn't exist.
Expected behavior
expected true, got false
Reproduction
translations.json
{
"aaa": "translation without dot",
"aaa.": "translation with dot."
}
function
console.log("without dot", i18().i18n.global.te("aaa"));
console.log("translation", i18().i18n.global.t("aaa"));
console.log("with dot", i18().i18n.global.te("aaa."));
console.log("translation", i18().i18n.global.t("aaa."));
System Info
macos, vue3.5
Screenshot
No response
Additional context
No response
Validations
- Read the Contributing Guidelines
- Read the Documentation
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussions
micopiira and ojaha065
Metadata
Metadata
Assignees
Labels
Status: Review NeededRequest for review commentsRequest for review comments