Hi Torsten,
<br/><br/>I have my own implemetation of a RKATranslator class.
<br/><br/>I write the translations into mongodb and have a small data entry
<br/>solution in my app where also customers could (later) edit additional
<br/>languages (and I use it myself for new translations).
<br/><br/>In the app, if I need a translation, I ask the current sessions
<br/>translator instance (one for each language) for the translation e.g.
<br/>>>self translator labelCurrency
<br/>In RKATranslator I have overwritten doesNotUnderstand: and the
<br/>translator asks mongo for the translation (key in the database is the
<br/>selector in above example labelCurrency).
<br/><br/>I do also cache some fixed values, e.g. a list of *sorted* countries
<br/>in each language. Otherwise, I would have to sort the countries each
<br/>time, the view with countries is displayed. This would not make sense
<br/>for performance.
<br/><br/>My solution is small and for my requirements, til now, it works fine.
<br/><br/>It is a nice Idea to set the browser language as default. I will think
<br/>about it.
<br/><br/>Sabine
<br/><br/>On Fri, Oct 18, 2013 at 8:23 AM, Georg Heeg [via Smalltalk]
<br/><<a href="/user/SendEmail.jtp?type=node&node=4715540&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
<div class='shrinkable-quote'><br/>> Torsten,
<br/>>
<br/>> seaBreeze which is a well-known extension to Seaside comes with
<br/>> Internationalization pre-built in and specially for you with German
<br/>> translations. It ships with VisualWorks 7.10.
<br/>>
<br/>> Georg
<br/>>
<br/>> Georg Heeg eK, Dortmund und Köthen, HR Dortmund A 12812
<br/>> Wallstraße 22, 06366 Köthen
<br/>> Tel. +49-3496-214328, Fax +49-3496-214712
<br/>>
<br/>>
<br/>> -----Ursprüngliche Nachricht-----
<br/>> Von: [hidden email] [mailto:[hidden email]] Im Auftrag von Torsten Bergmann
<br/>> Gesendet: Freitag, 18. Oktober 2013 08:07
<br/>> An: [hidden email]
<br/>> Betreff: [Seaside] I18N these days
<br/>>
<br/>> Hi,
<br/>>
<br/>> If one wants his seaside app:
<br/>> - to be available in many languages
<br/>> - use the browser language as default, but is able to switch language from
<br/>> menu
<br/>>
<br/>> Some experience to share - some best practices or code?
<br/>>
<br/>> Thx
<br/>> T.
<br/>>
<br/>> _______________________________________________
<br/>> seaside mailing list
<br/>> [hidden email]
<br/>> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/>>
<br/>> _______________________________________________
<br/>> seaside mailing list
<br/>> [hidden email]
<br/>> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/>>
<br/>>
<br/>> ________________________________
<br/>> If you reply to this email, your message will be added to the discussion
<br/>> below:
<br/>> <a href="http://forum.world.st/I18N-these-days-tp4715507p4715508.html" target="_top" rel="nofollow" link="external">http://forum.world.st/I18N-these-days-tp4715507p4715508.html</a><br/>> To start a new topic under Seaside General, email
<br/>> <a href="/user/SendEmail.jtp?type=node&node=4715540&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>> To unsubscribe from Seaside, click here.
<br/>> NAML
<br/></div>
        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://forum.world.st/I18N-these-days-tp4715507p4715540.html">Re: [Seaside] I18N these days</a><br/>
Sent from the <a href="http://forum.world.st/Seaside-General-f86180.html">Seaside General mailing list archive</a> at Nabble.com.<br/>