DiscipleTools / DiscipleTools/disciple-tools-theme

Language Selection when copying magic links

Open
#2,740 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
48
Forks
66
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
Many of the magic link templates recently added language selection in their UI. However, when copying a magic link to send someone, you can only send it in the default language. It would be great to select a language for the link you're sending

**Describe the solution you'd like**
Add some UI to the Magic Links tile that would allow language selection. This would add the `lang` parameter to the URL to set the locale. Some options I've thought of:

1. Add a down-caret dropdown icon next to Copy icon that would allow selection of locale. Clicking main copy button would still use default language without dropdown.
2. Clicking Copy button would open modal with language selection. Modal actions would be Cancel and Copy buttons given a selected language from a list within the modal.
3. At the top of the Magic Links tile, add a language selector that would apply that locale to all Magic Link actions within the tile.

Current Magic Link tile actions:
Image

**Describe alternatives you've considered**
Current workaround is to open the magic link, select language, and copy the URL from the address bar after that.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.