Hello,

Thank you for the 3.0.0-rc1 release and for adding back-office translation support. The feature works well and is very much appreciated.

However, I noticed that all translatable strings in the back office are implemented as textfield elements. By default, this field type has a maximum length of 128 characters when the #maxlength property is not explicitly overridden, which is the case here.

In some situations, it can be necessary to enter longer texts, especially for description fields (which is my case).

To address this, a few options could be considered:

  1. Increase the maxlength for all fields
  2. Increase the maxlength for description fields only
  3. Use textarea for all fields
  4. Use textarea for description fields only
  5. Another approach

I am not sure which solution you would prefer to implement.
In the meantime, I am going to open a merge request based on option 4.

Thanks in advance for your feedback.

Issue fork orejime-3565631

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

johnatas created an issue. See original summary.

johnatas’s picture

Status: Active » Needs work

  • fabsgugu committed 073a2761 on 3.0.x
    feat: #3565631 Translations maxlength
    
    By: johnatas
    By: fabsgugu
    
fabsgugu’s picture

Hello,

Thank you for your feedback. I chose the solution4 , but I used a more flexible method.

fabsgugu’s picture

Status: Needs work » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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