Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

added L10N_DEV environment variable for making all languages available #314

Merged
merged 1 commit into from Jul 25, 2017

Conversation

dannycoates
Copy link
Contributor

fixes #312

@relud can we set L10N_DEV=true for send.dev.mozaws.net only?

@relud
Copy link
Contributor

relud commented Jul 25, 2017

sure. does L10N_DEV=false suffice for non-dev deployments?

@relud
Copy link
Contributor

relud commented Jul 25, 2017

config added, will be present for next deploy to dev

partialsDir: 'views/partials/',
helpers: {
availableLanguages,
l10nDev: conf.l10n_dev
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we use this helper, or just the availableLanguages helper?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I was going to use it to add pontoon.js but the CSP and other changes scared me away for now

@pdehaan
Copy link
Collaborator

pdehaan commented Jul 25, 2017

It was a bit tricky to get this running locally.
Not sure if we want to force the env var when running npm run dev locally:

"dev": "npm run build && L10N_DEV=true npm start",

Although if we start passing env vars, I think we have to use cross-env so it plays nice w/ Windows.

@pdehaan
Copy link
Collaborator

pdehaan commented Jul 25, 2017

But I'm all 💯 for landing this, as I am seeing a couple issues w/ German when hacking locally:

firefox_send

@dannycoates dannycoates merged commit f20c995 into master Jul 25, 2017
@pdehaan pdehaan deleted the i312 branch July 31, 2017 05:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

expand availableLanguages in dev
3 participants