Locate view updates.
Localization package added to composer.json, service provider & alias added to config
DB migrations - Added translations table, added language column to pages table, updated models for mass-assignment & relations
Added route filters for localization package. Added lang attribute to html tag. Enabled spanish in localization package for testing.
Added drop down js and styles for language switcher. Added switcher to header.
Updated language seeder to use "en" as english code.
Lang files added for template strings. Strings replaced with Lang variables in templates.
Product route updated to pull from Lang files, page repo updated to pull current language
Added php storm config files to gitignore
German added to languages for testing a third language
Edits to page_translations migration
Dynamic page titles added to templates for testing.
Translation methods extracted to repository.
Conditional display of homepage hardcoded links – fix for missing translations
Edited product routes to use repo method to get translated slug rather than hard-coded lang files.
Added translations to page edit.
Added page translation create fields/methods
Bug in header view composer fixed
Page factory create method tightened up
Added language select on page index