Log in

No account? Create an account
LiveJournal Development [entries|archive|friends|userinfo]
LiveJournal Development

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

August 26th, 2006

Styles 'hardcoding' default strings in [Aug. 26th, 2006|04:59 pm]
LiveJournal Development


[mood |confusedconfused]
[music |Metric - Patriarch On A Vespa]

I was encouraging my friends to use the new English (UK) i18nc layer, and one of them came across a curious bug - it wouldn’t work on his style. On closer examination I found that Tranquility II uses its own variable called date_format which is set to %%mon%%. %%dayord%%, %%yyyy%%. Obviously this is silly, since lang_fmt_date_med is set to that by default anyway. But I discovered more weirdness, such as A Novel Conundrum setting text_view_[archive|friends|recent|userinfo] to their default values, overriding i18nc layers - so if you switch to french (which I have, in the past), these strings aren’t translated!

I realise there are meant to be layout internationalisation (i18n) layers to translate such strings, but (a) there appear to be no public i18n layers and (b) why are style authors setting variables to their default values, overriding i18nc layers? It doesn’t make a lick of sense to me. Anyway, I’m willing to find and patch all the layouts to get rid of anomalies like these, I guess I’d just like someone to explain how this came about?

Edit: the 3 column layout, for example, appears to be very bad in this regard - it uses its own text variables (mostly just the default values but with the first letter lowercased..), totally nullifying i18nc layers.
link10 comments|post comment

[ viewing | August 26th, 2006 ]
[ go | Previous Day|Next Day ]