Skip to content

feat: add ignore option for links in addLanguageToLinks function#35

Open
fabrizim wants to merge 2 commits intoLocalize:masterfrom
fabrizim:feature/add-ignore-option-for-links
Open

feat: add ignore option for links in addLanguageToLinks function#35
fabrizim wants to merge 2 commits intoLocalize:masterfrom
fabrizim:feature/add-ignore-option-for-links

Conversation

@fabrizim
Copy link
Copy Markdown

Add an option via data attribute data-localize-ignore to allow users to opt out of the link conversion for cases when the link should always point to a specific language.

Also, expose the initial state of any converted links via data-localize-original-url attribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant