javisperez/vuetranslate

this.$translate.textWithParams is returning the translation string

glenngijsberts opened this issue · 3 comments

Last week I've created the PR with the new method this.$translate.textWithParams. Since I'm using it now in a app I've came to the conclussion that it's not working since it's returning the translation string instead of a message with replacements.

I'll dig into it asap.

It doesn't for me either.

{{ tWithParams('Collapse filter section', {sectionTitle: 'tralala'}) }}
using

Vue.locales({
	de: {
		'Collapse filter section': 'Filter %sectionTitle% aufklappen',
	}
});

renders as Filter %sectionTitle% aufklappen

@pooledge exactly. Feel free to dive in, I'm a bit busy but I would like dive in somewhere in the upcoming days.

Hey guys, sorry for the delay, this PR should fix it and is now merged and deployed. #11 Thanks for the issue and help!