Re: [Tiki-devel] In context translation

Jonny Bradley via TikiWiki-devel <[email protected]>
Newsgroups gmane.comp.cms.tiki.devel
Message-ID <[email protected]>
Hi B

Good question, it's been so long i've forgotten... here it is:

    https://dev.tiki.org/Translations-Revamp#Add_context_to_translatable_strings

Look like it hasn't made it on to doc.t.o yet (should it?) - and i think the bit you need is hidden (for some reason) in the "testing procedure" part.

HTH

jonny



> On 19 Sep 2021, at 10:51, Bernard Sfez via TikiWiki-devel <[email protected]> wrote:
> 
> Hello all and Jean Marc,
> 
> We discussed and implemented tools for “in context” translations and I found a candidate for my first attempt to use it: Rotate
> 
> 
> 
> We should have then:
> “Rotate_C(movement)" => “Rotation",
> “Rotate_C(logs)" => “Alterner”,
> 
> Right ?
> 
> Then what would be the optimal process to avoid breaking previous usage ?
> Search for all {tr}Rotate{/tr} and the tra(‘Rotate’) then add the context (movement or logs) syntax ?
> 
> Is that enough ? (I see also some tra(“…”) - double quotes.
> Is there a better and more safe way ?
> 
> Thanks,
> Bernard
> 
> _______________________________________________
> TikiWiki-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.