smigs (smigs) wrote in lj_dev,
smigs
smigs
lj_dev

  • Mood:
  • Music:

Styles 'hardcoding' default strings in

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.
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 10 comments