Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#13104] Add mappings #13166

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,79 @@ export class InstructorRequestFormComponent {
// Country Mapping
const countryMapping: { [key: string]: string } = {
'united states': 'USA',
'u.s.a': 'USA',
'u.s.a.': 'USA',
us: 'USA',
america: 'USA',
uk: 'United Kingdom',
deutschland: 'Germany',
'united states of america': 'USA',

'united kingdom': 'UK',
uk: 'UK',
britain: 'UK',
'great britain': 'UK',
england: 'UK',

'united arab emirates': 'UAE',
uae: 'UAE',
emirates: 'UAE',

deutschland: 'Germany',
germany: 'Germany',

netherlands: 'Netherlands',
itstrueitstrueitsrealitsreal marked this conversation as resolved.
Show resolved Hide resolved
'the netherlands': 'Netherlands',
nederland: 'Netherlands',
holland: 'Netherlands',

belgium: 'Belgium',
belgië: 'Belgium',

brazil: 'Brazil',
brasil: 'Brazil',

spain: 'Spain',
españa: 'Spain',

mexico: 'Mexico',
méxico: 'Mexico',
belgië: 'Belgium',
holland: 'Netherlands',

italy: 'Italy',
italia: 'Italy',

china: 'China',
'peoples republic of china': 'China',
prc: 'China',

france: 'France',
'republic of france': 'France',

india: 'India',

japan: 'Japan',

russia: 'Russia',
'russian federation': 'Russia',

'south korea': 'South Korea',
'republic of korea': 'South Korea',
korea: 'South Korea',

'north korea': 'North Korea',
'democratic peoples republic of korea': 'North Korea',

'south africa': 'South Africa',
'republic of south africa': 'South Africa',

switzerland: 'Switzerland',

turkey: 'Turkey',
'republic of turkey': 'Turkey',
itstrueitstrueitsrealitsreal marked this conversation as resolved.
Show resolved Hide resolved
'republic of türkiye': 'Turkey',

vietnam: 'Vietnam',
'viet nam': 'Vietnam',

malaysia: 'Malaysia',
};
// Combine country and institution
const country = this.country.value!.trim();
Expand Down
Loading