Strings are cached by hardcoded 75 chars limit. This should be configurable with variable.

Having this setting could help to fine-tuning for different languages also memory consumption could be controlable.

This patch introduces a variable 'locale_cache_length'

CommentFileSizeAuthor
locale-cache-config-d7.patch2.49 KBandypost
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

plach’s picture

subscribe

mdinc_org’s picture

Supporting this
It is not clear why such restrictions

VladSavitsky’s picture

Status: Needs review » Patch (to be ported)

I need this too.
It's very useful. Can you please commit this patch?

VladSavitsky’s picture

Status: Patch (to be ported) » Reviewed & tested by the community

I mean RTBC

ddorian’s picture

subscribe

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Status: Fixed » Closed (fixed)
Issue tags: -Performance, -Quick fix

Automatically closed -- issue fixed for 2 weeks with no activity.