Re: [Tiki-devel] Fixes and changes in tracker item translation coming soon (in 27.x)

Jonny Bradley via TikiWiki-devel <[email protected]> Fri, 19 Apr 2024 10:31:45 +0100
Newsgroups gmane.comp.cms.tiki.devel
Message-ID <[email protected]>
Hi all

Thanks for the feedback on gitter all, going to merge this now, hope it helps! :)

jonny


> On 15 Apr 2024, at 20:45, Jonny Bradley <[email protected]> wrote:
> 
> Hi all
> 
> Multilingual tracker fields (Text and TextArea) have never really worked very well, especially in association with Plugin List and we need to fix this for 27.0, which is _so_ late, so we need a quick-ish fix, but i'd like to hear any community feedback on how to do so.
> 
> There's a matrix/gitter thread i started here (thanks for the feedback so far):
> 
> https://matrix.to/#/!SLEgqpTNTlGYAhzNvK:gitter.im/$0E1LXK1krxBwK2HliF_QVFgvIDRUE-xrIW5De4o2y1A?via=gitter.im&via=matrix.org&via=coeus.ca
> 
> The options seem to be (in the order i thought of them ;)
> 
> * New format=translate for {display}
>  not so good, precludes the use of other formats (thanks @luciash)
> 
> * New argument, e.g. {display name="tracker_field_permName" translate="y"}
>  Ok, but seems fiddly
> 
> * It should "just work"
>  Re @benoitg: "if multilingual is on, all tiki code is supposed to handle it"
>  So let's do this?
>  Actually idea #2 was to add a pref to make it automatically translate, so i'll make it optional
> 
> Thought i'd still share this here to (as i'm not doing it tonight), so "speak now!" or at least soon :)
> 
> jonny
>