Skip to content

Add i18n functionality#66

Merged
srenault merged 5 commits intoprismicio-community:masterfrom
levimykel:i18n
Apr 7, 2017
Merged

Add i18n functionality#66
srenault merged 5 commits intoprismicio-community:masterfrom
levimykel:i18n

Conversation

@levimykel
Copy link
Copy Markdown
Contributor

This PR adds the i18n functionality to this kit. It includes the following changes:

  • Adds the lang and alternate_language objects to the document object
  • Includes the definition of the lang query function
  • Adds a lang wildcard value to the preview query function as well as the query helper functions that return unique documents (get_by_id, get_by_ids, get_by_uid)
  • Adds a lang value to document links
  • Updates and adds Kit tests for i18n

@srenault srenault merged commit eccbd03 into prismicio-community:master Apr 7, 2017
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.

3 participants