Open csBlackWolf opened 3 years ago
Hello. I'm not sure I understand which translation you have issues with. There's one named fof-terms.forum.accept-modal.i-accept
and another named fof-terms.forum.signup.i-accept
which both contain almost identical text.
The screenshot is on beta 14 but I don't expect any difference in older versions.
You need to preserve <a>{policy}</a>
as it is so it can be substituted with the policy name. If you have a single policy and wanted its name to change between languages, you could hard-code it in that translation in place of {policy}
.
If you're not seeing the same results as me in the translation search, can you share the version of Linguist and Terms that are installed on that forum? I suppose you can't share php flarum info
if that's FreeFlarum but you should see the extension version(s) in the Extensions tab.
Hmmm... For me it is not showing, if i type 'i accept' in the search from linguist. 😐
Edit: Ok. I have found the issue. I need to have the English language extension enabled, to find this line in linguist. 😅
Yes linguist is only able to list strings that originally exist in at least one of the enabled languages, so this usually requires having the English pack enabled. You can disable the English Pack once you're done translating.
We might be able to show/search English strings for extensions even when English is disabled now that I think of it. Those translations are registered by extensions regardless of the enabled language so we could pull them out.
Hello.
I try to make a German Forum with FreeFlarum what has the FoF-Terms extension preinstalled. So i added my ToS for the registration and now i wanted to translate the Text "I accept the Terms of Service" to German. I can translate "Terms of Service", but the text before it can't be translated. I tried to find and change the line with the extension "linguist" but can't find this text line there.
It would be really nice to add a option to translate it without modifying the code, what is not possible if i using FreeFlarum.
With best regards
csBlackWolf