Skip to content

Commit

Permalink
fix: don't push pseudoLocale to translation.io provider (#1161)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdirolf authored Nov 26, 2021
1 parent 8ee42cb commit 5d2186b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/cli/src/services/translationIO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ export default function syncProcess(config, options) {
// Cf. https://translation.io/docs/create-library#initialization
function init(config, options, successCallback, failCallback) {
const sourceLocale = config.sourceLocale || 'en'
const targetLocales = config.locales.filter((value) => value != sourceLocale)
const pseudoLocale = config.pseudoLocale || 'pseudo'
const targetLocales = config.locales.filter((value) => value != sourceLocale && value != pseudoLocale)
const paths = poPathsPerLocale(config)

let segments = {}
Expand Down

0 comments on commit 5d2186b

Please sign in to comment.