laravel-translations icon indicating copy to clipboard operation
laravel-translations copied to clipboard

ltu_phrases.key as varchar causes problems with long keys commonly used in JSON files

Open philippgerard opened this issue 8 months ago • 0 comments

Hi,

I'm using long keys for some translated marketing pages, e.g. T&Cs, Privacy Policy etc. When importing the strings from the JSON files the import fails with "data too long for column 'key'". Turning the key into text from varchar fixes the problem and might be worth considering as a default.

Thanks for the great package otherwise!

Best, Philipp

philippgerard avatar Jun 13 '24 08:06 philippgerard