cms icon indicating copy to clipboard operation
cms copied to clipboard

Fieldtype UI descriptions shows translation key instead of default

Open Christophvh opened this issue 3 years ago • 6 comments

Bug description

Field types description shows translations keys instead of the default English translation. Screenshot 2022-02-14 at 17 08 03

How to reproduce

Set statamic language to Dutch.

Logs

No response

Versions

Statamic 3.2.32 Pro Laravel 8.83.0 PHP 8.1.2 aerni/livewire-forms 2.0.0 edalzell/blade-directives 3.5.2 jonassiewertsen/statamic-livewire 2.7.1

Installation

Existing Laravel app

Additional details

No response

Christophvh avatar Feb 14 '22 16:02 Christophvh

Confirmed.

It looks like the Dutch translations are out-of-date. Those keys exist in the English translation file but aren't present in the Dutch translation file.

duncanmcclean avatar Feb 14 '22 22:02 duncanmcclean

@robdekort

ebeauchamps avatar Feb 15 '22 20:02 ebeauchamps

Ah yeah. It's been a month or two since I last updated strings I think. I was planning on doing another translation run when 3.3 hits. But if anyone wants to beat me to it. Feel free! https://statamic.dev/cp-translations#contributing-a-new-translation

Not a bug so closing for now.

robdekort avatar Feb 15 '22 20:02 robdekort

However a fallback to English would be nice whenever strings aren’t localized yet. Does that qualify as a bug/fr @jackmcdade?

robdekort avatar Feb 15 '22 22:02 robdekort

Yes it should fall back. Bug.

jasonvarga avatar Feb 16 '22 15:02 jasonvarga

This is likely a duplicate of #5610.

aerni avatar Jun 15 '22 12:06 aerni