Hello great community,

Translation of link text is not available, I applied all the patches in the project page no one of them worked with me

CommentFileSizeAuthor
#8 3270849-8.patch824 bytesjavitan
#2 3270849-2.patch820 bytesahmadhalah

Comments

ahmadhalah created an issue. See original summary.

ahmadhalah’s picture

StatusFileSize
new820 bytes

Sorry for any inconvenience, I created a patch that might work

ahmadhalah’s picture

Status: Active » Needs review
mahdiwadi’s picture

+1

Guilherme Rabelo’s picture

Assigned: Unassigned » Guilherme Rabelo

Hi, i will review this patch.

Guilherme Rabelo’s picture

Assigned: Guilherme Rabelo » Unassigned
Status: Needs review » Reviewed & tested by the community

This #2 patch translation the link text.
Everything seems to be ok for me.
Moving to RTBC!

danflanagan8’s picture

Issue tags: -translation

Thanks for the issue and the patch!

This situation was discussed in another issue: #3159900-4: How to translate link text?. The unofficial roadmap for the module is to wait for #2546212: Entity view/form mode formatter/widget settings have no translation UI to land and let core handle this through configuration translation rather than through interface translation.

Even though I don't plan on committing this patch, I think it may be useful for others who are looking for a quick fix. Thanks for the contribution.

javitan’s picture

StatusFileSize
new824 bytes

This worked for me. I updated the patch for version 2.0.2.

Happy coding!

hktang’s picture

Thank you! I confirm this works on v2.0.3.

norman.lol’s picture

Title: Translate Link text » How can I translate the link text?
Version: 2.0.1 » 2.0.x-dev
Category: Bug report » Support request
Status: Reviewed & tested by the community » Closed (duplicate)
Parent issue: » #2546212: Entity view/form mode formatter/widget settings have no translation UI

You should never use t() to translate variables, see https://drupal.stackexchange.com/q/9362/15055 for an in-dept explanation.

The patches from #2546212: Entity view/form mode formatter/widget settings have no translation UI get the translatability issue fixed, please use one of these.

After you applied one of the patches, you go to /admin/config/regional/config-translation and choose to translate the view display for the entity you are using the File Download Link formatter, export config, done.

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.