Skip to content

Commit

Permalink
return ID language
Browse files Browse the repository at this point in the history
  • Loading branch information
negarn committed Mar 27, 2020
1 parent 69b3ab5 commit 0df2bba
Show file tree
Hide file tree
Showing 50 changed files with 135 additions and 12 deletions.
3 changes: 2 additions & 1 deletion scripts/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@ exports.sections_config = {
// ---------- Languages ----------
// TODO: add 'DE' after 'EN' in the array below to enable German language
// TODO: add 'TH' after 'RU' in the array below to enable Thai language
exports.languages = ['EN', 'ES', 'FR', 'IT', 'KO', 'PL', 'PT', 'RU', 'VI', 'ZH_CN', 'ZH_TW'];
exports.languages = ['EN', 'ES', 'FR', 'ID', 'IT', 'KO', 'PL', 'PT', 'RU', 'VI', 'ZH_CN', 'ZH_TW'];

const affiliates_signup_language_map = { // object used instead of array to prevent accidental index changes
EN : 0,
RU : 1,
FR : 2,
IT : 3,
ID : 4,
PL : 5,
VI : 6,
// DE : 7, // TODO: uncomment to enable German language
Expand Down
13 changes: 10 additions & 3 deletions scripts/sitemap.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,16 @@ program

const config = [
{
url_prefix: 'https://www.binary.com/',
filename : 'sitemap.xml',
section : 'app',
url_prefix : 'https://www.binary.com/',
filename : 'sitemap.xml',
lang_filter: '^(?!id$)',
section : 'app',
},
{
url_prefix : 'https://www.binary.me/',
filename : 'sitemap.id.xml',
lang_filter: '^id$',
section : 'app',
},
];
let excluded;
Expand Down
1 change: 1 addition & 0 deletions src/images/pages/applications/appstore_id.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/images/pages/applications/googleplay_id.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/images/pages/keep_safe/desktop_app.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/images/pages/trade-explanation/id/call-spread.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0df2bba

Please sign in to comment.