[ZendTo] UI Language switch

Jules Jules at Zend.To
Fri Jan 26 09:41:58 GMT 2018


Yes, that should work okay. But it's not a very neat solution. It would 
be much nicer for the user to be able to just select a language from a 
drop-down. If we end up with 30 translations, you would have to setup 30 
ZendTo sites. Administration nightmare...

On 26/01/2018 08:55, Bocquet Stéphane wrote:
>
> Hi folks !
>
> Maybe a stupid idea, but Jules can confirm ;)
>
> What about having multiple front servers, one per language??? Here we 
> use Debian 9 in Hyper-V VM, and ZendTo run with only 1 Go of RAM, we 
> use 2Go to be sure ;)
>
> You have to configure them to join the same database (I think MySQL on 
> a different server can be the solution here), and maybe you can also 
> share the same space from dropoff if you have a share on a disk 
> storage, or maybe a NFS share on one of the servers.
>
> The only think I can see to be a problem is 2 dropoffs created at the 
> same time with the same unique ID and/or dropoff directory… but should 
> be very almost impossible I think.
>
> What do you think of that Jules. I think it could work.
>
> Cheers,
>
> Stéphane
>
> *De :*zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] *De la 
> part de* Everton Bruno Bernardi
> *Envoyé :* jeudi 25 janvier 2018 12:36
> *À :* ZendTo Users
> *Objet :* Re: [ZendTo] UI Language switch
>
> Hi Jules.
>
> What about defining a preference key that would allow us to add a 
> combobox of Google Translator within ZendTo's pages?
>
> I've hardcoded one in my installation because we have many 
> international users that were having a hard time with Portuguese.
>
> It looks like this:
>
> Inline image 1
>
> The automatic translation isn't perfect but it is better than nothing.
>
> Kind regards.
>
> On Thu, Jan 25, 2018 at 9:19 AM, Jules <Jules at zend.to 
> <mailto:Jules at zend.to>> wrote:
>
> Stanislav,
>
> I did think of doing that, yes. I looked at it over Christmas, and 
> rapidly came to the conclusion that it was "hard" and I couldn't 
> obviously see how to do it. So it got knocked off my "feature list" 
> for version 5.
>
> It would need a session cookie, but I'm not yet sure how much I would 
> have to do on every page to implement it all.
>
> But yes, it is certainly a thing I would like to do.
>
> If anyone out there fancies having a look at the problem, and do a bit 
> of research into how I might implement it, that would be fantastic and 
> save me a lot of time!
>
> Cheers,
> Jules.
>
> On 25/01/2018 09:14, Telipský Stanislav wrote:
>
>     Hi Jules,
>
>     I found that ZendTo 5.0 supports internationalization. But whole
>     site ZendTo is set to only one language by the key in
>     preferences.php. Is that correct?
>
>     Would it be possible to switch the UI language individualy by
>     users browser language preferences?
>
>     And ideally to have the option to switch the UI language manually
>     on site as well as possibility to set language of the email
>     template before dispatch.
>
>     Is that something you plan to implement?
>
>     Thanks for your time.
>
>     BR,
>
>     Stanislav Telipský
>
>     _______________________________________________
>
>     ZendTo mailing list
>
>     ZendTo at zend.to <mailto:ZendTo at zend.to>
>
>     http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
>
>
> Jules
> -- 
> Julian Field MEng CEng CITP MBCS MIEEE MACM
> 'If I were a Brazilian without land or money or the means to feed
> my children, I would be burning the rain forest too.' - Sting
> www.Zend.To <http://www.Zend.To>
> Twitter: @JulesFM
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to <mailto:ZendTo at zend.to>
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
>
>
> -- 
>
> /Everton Bruno Bernardi <http://google.com/+EvertonBrunoBernardi>/
>
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto

Jules

-- 
Julian Field MEng CEng CITP MBCS MIEEE MACM

'The AI does not hate you, nor does it love you, but you are made
  out of atoms which it can use for something else.' - Eliezer Yudkowsky

www.Zend.To
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20180126/0f45a075/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 7285 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20180126/0f45a075/attachment-0001.png 


More information about the ZendTo mailing list