Skip to content

Instantly share code, notes, and snippets.

Avatar

AlchemistCamp

View GitHub Profile
@AlchemistCamp
AlchemistCamp / elixir.json5
Created Jun 1, 2020
My elixir.json file for Elixir snippets in VS Code
View elixir.json5
{
// In VS Code you can create this file via ctrl/cmd +p, and then "> Preferences: Configure User Snippets"
// Each snippet is defined under a snippet name and has a prefix, body and description.
// The prefix is what is used to trigger the snippet and the body will be expanded and inserted.
//
// Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
// Placeholders with the same ids are connected.
//
View Overview.md

Internationalizing a Phoenix App: Gettext, routing and meta tags

Goals

  • A consistent structure under a single domain
  • SEO friendliness
  • Avoid geo-location and other user-hostile practices
  • Do as much as possible from the back-end

Inspiration

  • Painful geo-location experiences (especially in a place with an unfamiliar script)