if (!window.I18n) { I18n = {}; }

I18n.defaultLocale = "en";

I18n.translations = {"nl":{"flyout":{"print":"Printen","route_planning":"Routebeschrijving","phone":"Telefoon","close":"Sluiten","offer":"Aanbod"},"time":{"am":"\u00b4s ochtends","formats":{"default":"%a, %d %b %Y %H:%M:%S %z","long":"%B %d, %Y %H:%M","short":"%d %b %H:%M"},"pm":"\u00b4s middags"},"config":{"domain":"http://www.medela.nl/BENELUX","extranet_domain":"http://extranet.medela.ch"},"search":{"radius_option_1":"50km","radius_option_3_value":"3.1","query_description":"(bijv.: straat, stad of postcode)","no_result_message":"Het zoeken met behulp van de door u aangegeven criteria heeft geen locaties opgeleverd.","other_filters":"Andere opties:","radius_option_2":"15km","radius":"Radius","breastpumps":"Borstkolven","filter_description":"Filteren met:","radius_option_1_value":"31","title":"Zoek","welcome_message":"Voer een stad en postcode in of klik op een vlaggetje op de kaart","filters":{"pump_in_style":"Pump in Style","additional_products":"Uitgebreid productassortiment","buy":"Kopen","mini_electric":"Mini Electric","feeding_devices":"Speciale hulpmiddelen","rent_and_buy":"Huren en kopen","swing":"Swing","rent":"Huren","symphony":"Symphony","accessories":"Accessoires","harmony":"Harmony","freestyle":"Freestyle","apparel":"Ondergoed","classic":"Classic","lactina":"Lactina","lactation_consultant":"Lactatiekundige"},"radius_option_2_value":"9.3","radius_option_3":"5km"},"date":{"abbr_day_names":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"formats":{"default":"%Y-%m-%d","long":"%B %d, %Y","short":"%b %d"},"month_names":[null,"January","February","March","April","May","June","July","August","September","October","November","December"],"abbr_month_names":[null,"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"order":["year","month","day"],"day_names":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"datetime":{"prompts":{"minute":"minuut","month":"maand","year":"jaar","hour":"uur","day":"dag","second":"seconden"},"distance_in_words":{"half_a_minute":"een halve minuut","about_x_hours":{"other":"ongeveer (count) uur","one":"ongeveer 1 uur"},"about_x_years":{"other":"ongeveer (count) jaar","one":"ongeveer 1 jaar"},"x_seconds":{"other":"(count) seconden","one":"1 seconde"},"x_days":{"other":"(count) dagen","one":"1 dag"},"over_x_years":{"other":"over ((count)) jaar","one":"over 1 jaar"},"less_than_x_minutes":{"zero":"minder dan 1 minuut","other":"minder dan (count) minuten","one":"minder dan \u00e9\u00e9n minuut"},"about_x_months":{"other":"ongeveer (count) maanden","one":"ongeveer 1 maand"},"x_minutes":{"other":"(count) minuten","one":"1 minuut"},"x_months":{"other":"(count) maanden","one":"1 maand"},"less_than_x_seconds":{"zero":"minder dan 1 seconde","other":"minder dan (count) seconden","one":"minder dan 1 seconde"}}},"number":{"human":{"storage_units":{"format":"%n %u","units":{"mb":"MB","gb":"GB","tb":"TB","byte":{"other":"Bytes","one":"Byte"},"kb":"KB"}},"format":{"delimiter":"","precision":1}},"format":{"delimiter":",","separator":".","precision":3},"percentage":{"format":{"delimiter":""}},"currency":{"format":{"delimiter":",","separator":".","unit":"$","format":"%u%n","precision":2}},"precision":{"format":{"delimiter":""}}},"activerecord":{"errors":{"full_messages":{"format":"((attribuut)) ((boodschap))"},"messages":{"odd":"moet oneven zijn","record_invalid":"Validatie mislukt : {{errors}}","greater_than":"moet groter dan (count) zijn","too_long":"is te lang (niet meer dan (count) tekens)","confirmation":"komt niet met het bevestigde overeen","even":"moet gelijk zijn","greater_than_or_equal_to":"moet groter dan of gelijk aan (count) zijn","inclusion":"is niet in de lijst opgenomen","equal_to":"moet precies (count) zijn","empty":"moet ingevuld worden","less_than":"moet kleiner dan (count) zijn","accepted":"moet geaccepteerd worden","wrong_length":"heeft een verkeerd aantal tekens (moet precies (count) tekens hebben)","exclusion":"is niet beschikbaar","less_than_or_equal_to":"moet kleiner dan of gelijk aan (count) zijn","not_a_number":"is geen getal","taken":"is reeds vergeven","too_short":"is te kort (niet minder dan (count) tekens)","invalid":"is niet geldig","blank":"moet ingevuld worden"},"template":{"header":{"other":"Door ((count)) fouten is die ((model)) niet opgeslagen ","one":"Door 1 fout is dit ((model)) niet opgeslagen"},"body":"Er zijn problemen opgetreden met de volgende velden:"}}},"support":{"array":{"last_word_connector":", and ","words_connector":", ","two_words_connector":" and "},"select":{"prompt":"Selecteer alstublieft"}},"navigation":{"media":"Media","contact":"Contact","switch_region":"Van regio wisselen","extranet":"Extranet","news":"Nieuws \u0026 Feiten","corporate":"Medela World Site","homepage":"Homepage","about":"Over Medela"},"page_title":"Medela zoekfunctie"},"es":{"time":{"am":null,"formats":{"default":"%a, %d %b %Y %H:%M:%S %z","long":"%B %d, %Y %H:%M","short":"%d %b %H:%M"},"pm":null},"search":{"radius_option_1":null,"radius_option_3_value":"3.1","query_description":null,"other_filters":null,"radius_option_2":null,"radius":null,"breastpumps":null,"filter_description":null,"radius_option_1_value":"31","title":null,"welcome_message":null,"filters":{"pump_in_style":null,"buy":null,"mini_electric":null,"feeding_devices":null,"rent_and_buy":null,"swing":null,"rent":null,"symphony":null,"accessories":null,"harmony":null,"freestyle":null,"apparel":null,"classic":null,"lactina":null,"lactation_consultant":null},"radius_option_2_value":"9.3","radius_option_3":null},"date":{"abbr_day_names":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"formats":{"default":"%Y-%m-%d","long":"%B %d, %Y","short":"%b %d"},"month_names":[null,"January","February","March","April","May","June","July","August","September","October","November","December"],"abbr_month_names":[null,"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"order":["year","month","day"],"day_names":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"datetime":{"prompts":{"minute":null,"month":null,"year":null,"hour":null,"day":null,"second":null},"distance_in_words":{"half_a_minute":null,"about_x_hours":{"other":null,"one":null},"about_x_years":{"other":null,"one":null},"x_seconds":{"other":null,"one":null},"x_days":{"other":null,"one":null},"over_x_years":{"other":null,"one":null},"less_than_x_minutes":{"other":null,"one":null},"about_x_months":{"other":null,"one":null},"x_minutes":{"other":null,"one":null},"x_months":{"other":null,"one":null},"less_than_x_seconds":{"other":null,"one":null}}},"number":{"human":{"storage_units":{"format":"%n %u","units":{"mb":null,"gb":null,"tb":null,"byte":{"other":null,"one":null},"kb":null}},"format":{"delimiter":"","precision":1}},"format":{"delimiter":",","separator":".","precision":3},"percentage":{"format":{"delimiter":""}},"currency":{"format":{"delimiter":",","separator":".","unit":null,"format":"%u%n","precision":2}},"precision":{"format":{"delimiter":""}}},"activerecord":{"errors":{"full_messages":{"format":null},"messages":{"odd":null,"record_invalid":null,"greater_than":null,"too_long":null,"confirmation":null,"even":null,"greater_than_or_equal_to":null,"inclusion":null,"equal_to":null,"empty":null,"less_than":null,"accepted":null,"wrong_length":null,"exclusion":null,"less_than_or_equal_to":null,"not_a_number":null,"taken":null,"too_short":null,"invalid":null,"blank":null},"template":{"header":{"other":null,"one":null},"body":null}}},"support":{"array":{"last_word_connector":", and ","words_connector":", ","two_words_connector":" and "},"select":{"prompt":null}},"navigation":{"media":null,"contact":null,"extranet":null,"news":null,"corporate":null,"homepage":null,"about":null},"page_title":null},"fr":{"flyout":{"print":"Imprimer","route_planning":"Guide routier","phone":"Telephone","close":"ferm\u00e9","offer":"Offre"},"time":{"am":"","formats":{"time":"","default":"%a, %d %b %Y %H:%M:%S %z","long":"%B %d, %Y %H:%M","short":"%d %b %H:%M"},"pm":""},"config":{"domain":"http://www.medela.com","extranet_domain":"http://extranet.medela.ch"},"search":{"radius_option_1":"50 km","radius_option_3_value":"3.1","query_description":"(par ex.: rue, ville ou code postal)","no_result_message":"Aucun site de location ne correspond aux termes de recherche sp\u00e9cifi\u00e9s.","other_filters":"Plus options:","radius_option_2":"15 km","radius":"Radius","breastpumps":"Tire-laits","filter_description":"Filtre avec:","radius_option_1_value":"31","title":"Recherche","welcome_message":"Veuillez taper une adresse.","filters":{"pump_in_style":"Pump in Style","additional_products":"Assortiment \u00e9largi","buy":"Acheter","mini_electric":"Mini Electric","feeding_devices":"Aides sp\u00e9ciales pour l'allaitement","rent_and_buy":"Louer ou acheter","swing":"Swing","rent":"Louer","symphony":"Symphony","accessories":"Accessoires","harmony":"Harmony","freestyle":"Freestyle","apparel":"Lingerie","classic":"Classic","lactina":"Lactina","lactation_consultant":"Conseiller d'allaitement"},"radius_option_2_value":"9.3","radius_option_3":"5 km"},"date":{"abbr_day_names":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"formats":{"default":"%Y-%m-%d","only_day":"","long":"%B %d, %Y","short":"%b %d"},"month_names":[null,"January","February","March","April","May","June","July","August","September","October","November","December"],"abbr_month_names":[null,"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"order":["year","month","day"],"day_names":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"datetime":{"prompts":{"minute":"","month":"","year":"","hour":"","day":"","second":""},"distance_in_words":{"half_a_minute":"","about_x_hours":{"other":"","one":""},"about_x_years":{"other":"","one":""},"x_seconds":{"other":"","one":""},"x_days":{"other":"","one":""},"over_x_years":{"other":"","one":""},"less_than_x_minutes":{"zero":"","other":"","one":""},"about_x_months":{"other":"","one":""},"x_minutes":{"other":"","one":""},"x_months":{"other":"","one":""},"less_than_x_seconds":{"zero":"","other":"","one":""}}},"number":{"human":{"storage_units":{"format":"%n %u","units":{"mb":"MB","gb":"GB","tb":"Tb","byte":{"other":"Bytes","one":"Byte"},"kb":"KB"}},"format":{"delimiter":"","precision":1}},"format":{"delimiter":",","separator":".","precision":3},"percentage":{"format":{"delimiter":""}},"currency":{"format":{"delimiter":",","separator":".","unit":"$","format":"%u%n","precision":2}},"precision":{"format":{"delimiter":""}}},"activerecord":{"errors":{"full_messages":{"format":""},"messages":{"odd":"doit \u00eatre impair","record_invalid":"la validation a \u00e9chou\u00e9","greater_than":"doit \u00eatre sup\u00e9rieur \u00e0 {{count}}","too_long":"est trop longue (ne pas plus que {{count}} chiffres)","confirmation":"ne correspond pas avec la confirmation","even":"doit \u00eatre pair","greater_than_or_equal_to":"doit \u00eatre sup\u00e9rieur ou \u00e9gal \u00e0 {{count}}","inclusion":"n'est pas valide","equal_to":"doit se correspondre avec {{count}}","empty":"doit \u00eatre compl\u00e9t\u00e9","less_than":"doit \u00eatre inf\u00e9rieur \u00e0 {{count}}","accepted":"doit \u00eatre accept\u00e9","wrong_length":"","exclusion":"n'est pas disponible","less_than_or_equal_to":"doit \u00eatre inf\u00e9rieur ou \u00e9gal \u00e0 {{count}}","not_a_number":"n'est pas une chiffre","taken":"est d\u00e9j\u00e0 attribu\u00e9","too_short":"","invalid":"n'est pas valide","blank":"doit \u00eatre compl\u00e9t\u00e9"},"template":{"header":{"other":"","one":""},"body":""}}},"support":{"array":{"last_word_connector":", et ","words_connector":", ","two_words_connector":" et "},"select":{"prompt":"Selectionnez"}},"navigation":{"media":"Presse","contact":"Contact","switch_region":"Change la r\u00e9gion","extranet":"Extranet","news":"Expositions","corporate":"Medela World Site","homepage":"Page d'accueil","about":"Notre entreprise"},"page_title":"Medela Location Finder"},"it":{"flyout":{"print":"Stampa","email":"Mail","shop_hours":"Orari","route_planning":"Itinerario","phone":"Tel","internet":"URL","close":"chiudere","offer":"Assortimento"},"config":{"domain":"http://www.medela.it/I","extranet_domain":"http://extranet.medela.ch"},"time":{"am":"am","formats":{"time":"","default":"%a, %d %b %Y %H:%M:%S %z","long":"%B %d, %Y %H:%M","short":"%d %b %H:%M"},"pm":"pm"},"search":{"radius_option_1":"50 km","radius_option_3_value":"3.1","query_description":"(Ad esempio: via, citt\u00e0 o codice postale)","no_result_message":"La ricerca non ha condotto a nessun risultato","other_filters":"Altre opzioni:","radius_option_2":"15 km","radius":"Raggio","breastpumps":"Tiralatte","filter_description":"Filtra per:","radius_option_1_value":"31","title":"Ricerca","welcome_message":"Inserire una citt\u00e0 od un codice postale.","filters":{"pump_in_style":"Pump in Style","additional_products":"Ampia gamma di prodotti","buy":"Vendita","mini_electric":"Mini Electric","feeding_devices":"Ausili speciali per l'alimentazione","rent_and_buy":"Noleggio e Vendita","swing":"Swing","rent":"Noleggio","symphony":"Symphony","accessories":"Accessori","harmony":"Harmony","freestyle":"Freestyle","apparel":"Abbigliamento","classic":"Classic","lactina":"Lactina","lactation_consultant":"Consulente per l'allattamento"},"radius_option_2_value":"9.3","radius_option_3":"5  km"},"date":{"abbr_day_names":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"formats":{"default":"%Y-%m-%d","only_day":"","long":"%B %d, %Y","short":"%b %d"},"month_names":[null,"January","February","March","April","May","June","July","August","September","October","November","December"],"abbr_month_names":[null,"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"order":["year","month","day"],"day_names":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"datetime":{"prompts":{"minute":"","month":"","year":"","hour":"","day":"","second":""},"distance_in_words":{"half_a_minute":"","about_x_hours":{"other":"","one":""},"about_x_years":{"other":"","one":""},"x_seconds":{"other":"","one":""},"x_days":{"other":"","one":""},"over_x_years":{"other":"","one":""},"less_than_x_minutes":{"zero":"","other":"","one":""},"about_x_months":{"other":"","one":""},"x_minutes":{"other":"","one":""},"almost_x_years":{"other":"","one":""},"x_months":{"other":"","one":""},"less_than_x_seconds":{"zero":"","other":"","one":""}}},"number":{"human":{"storage_units":{"format":"%n %u","units":{"mb":"MB","gb":"GB","tb":"TB","byte":{"other":"Bytes","one":"Byte"},"kb":"KB"}},"format":{"delimiter":"","precision":1}},"format":{"delimiter":",","separator":".","precision":3},"percentage":{"format":{"delimiter":""}},"currency":{"format":{"delimiter":",","separator":".","unit":"$","format":"%u%n","precision":2}},"precision":{"format":{"delimiter":""}}},"activerecord":{"errors":{"full_messages":{"format":""},"messages":{"odd":"deve essere dispari","record_invalid":"Convalida non riuscita: {{errors}}","greater_than":"deve essere superiore a  {{conteggio}}","too_long":"\u00e8 troppo lungo (il massimo \u00e8  {{conteggio}} caratteri)","confirmation":"non corrisponde alla conferma","even":"deve essere ancora","greater_than_or_equal_to":"deve essere maggiore o uguale a {{conteggio}}","inclusion":"non \u00e8 incluso nell'elenco","equal_to":"deve essere uguale a {{conteggio}}","empty":"non pu\u00f2 essere vuoto","less_than":"deve essere inferiore a {{conteggio}}","accepted":"deve essere accettato","wrong_length":"la lunghezza \u00e8 errata (dovrebbe essere {{conteggio}} caratteri)","exclusion":"\u00e8 riservato","less_than_or_equal_to":"deve essere inferiore o uguale a {{conteggio}} ","not_a_number":"non \u00e8 un numero","taken":"\u00e8 gi\u00e0 stato preso","too_short":"\u00e8 troppo corto (il massimo \u00e8  {{conteggio}} caratteri)","invalid":"non \u00e8 valido","blank":"non pu\u00f2 essere vuoto"},"template":{"header":{"other":"","one":"1 errore ha proibito il salvataggio di questo {{modello}}"},"body":"Ci sono stati problemi con i seguenti campi:"}}},"support":{"array":{"last_word_connector":", and ","words_connector":", ","two_words_connector":" and "},"select":{"prompt":"Selezionare"}},"navigation":{"media":"Media","contact":"Contatti","switch_region":"Cambia paese","extranet":"Extranet","news":"Novit\u00e0 ed eventi","corporate":"Medela World Site","homepage":"Home Page","about":"Chi siamo"},"page_title":"Medela location finder"},"ru":{"time":{"am":null,"formats":{"default":"%a, %d %b %Y %H:%M:%S %z","long":"%B %d, %Y %H:%M","short":"%d %b %H:%M"},"pm":null},"search":{"radius_option_1":null,"radius_option_3_value":"3.1","query_description":null,"other_filters":null,"radius_option_2":null,"radius":null,"breastpumps":null,"filter_description":null,"radius_option_1_value":"31","title":null,"welcome_message":null,"filters":{"pump_in_style":null,"buy":null,"mini_electric":null,"feeding_devices":null,"rent_and_buy":null,"swing":null,"rent":null,"symphony":null,"accessories":null,"harmony":null,"freestyle":null,"apparel":null,"classic":null,"lactina":null,"lactation_consultant":null},"radius_option_2_value":"9.3","radius_option_3":null},"date":{"abbr_day_names":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"formats":{"default":"%Y-%m-%d","long":"%B %d, %Y","short":"%b %d"},"month_names":[null,"January","February","March","April","May","June","July","August","September","October","November","December"],"abbr_month_names":[null,"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"order":["year","month","day"],"day_names":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"datetime":{"prompts":{"minute":null,"month":null,"year":null,"hour":null,"day":null,"second":null},"distance_in_words":{"half_a_minute":null,"about_x_hours":{"other":null,"one":null},"about_x_years":{"other":null,"one":null},"x_seconds":{"other":null,"one":null},"x_days":{"other":null,"one":null},"over_x_years":{"other":null,"one":null},"less_than_x_minutes":{"other":null,"one":null},"about_x_months":{"other":null,"one":null},"x_minutes":{"other":null,"one":null},"x_months":{"other":null,"one":null},"less_than_x_seconds":{"other":null,"one":null}}},"number":{"human":{"storage_units":{"format":"%n %u","units":{"mb":null,"gb":null,"tb":null,"byte":{"other":null,"one":null},"kb":null}},"format":{"delimiter":"","precision":1}},"format":{"delimiter":",","separator":".","precision":3},"percentage":{"format":{"delimiter":""}},"currency":{"format":{"delimiter":",","separator":".","unit":null,"format":"%u%n","precision":2}},"precision":{"format":{"delimiter":""}}},"activerecord":{"errors":{"full_messages":{"format":null},"messages":{"odd":null,"record_invalid":null,"greater_than":null,"too_long":null,"confirmation":null,"even":null,"greater_than_or_equal_to":null,"inclusion":null,"equal_to":null,"empty":null,"less_than":null,"accepted":null,"wrong_length":null,"exclusion":null,"less_than_or_equal_to":null,"not_a_number":null,"taken":null,"too_short":null,"invalid":null,"blank":null},"template":{"header":{"other":null,"one":null},"body":null}}},"support":{"array":{"last_word_connector":", and ","words_connector":", ","two_words_connector":" and "},"select":{"prompt":null}},"navigation":{"media":null,"contact":null,"extranet":null,"news":null,"corporate":null,"homepage":null,"about":null},"page_title":null},"de":{"flyout":{"print":"Drucken","email":"E-Mail","shop_hours":"\u00d6ffnungszeiten","route_planning":"Routenplanung","phone":"Telefon","internet":"Internet","close":"schliessen","offer":"Angebot"},"time":{"am":"vormittags","formats":{"time":"%H:%M","default":"%A, %d. %B %Y, %H:%M Uhr","long":"%A, %d. %B %Y, %H:%M Uhr","short":"%d. %B, %H:%M Uhr"},"pm":"nachmittags"},"config":{"domain":"http://www.medela.de/D","extranet_domain":"http://extranet.medela.ch"},"search":{"radius_option_1":"50km","radius_option_3_value":"3.1","query_description":"(z.B.: Stra\u00dfe, Ort oder PLZ)","no_result_message":"F\u00fcr Ihren Suchbegriff sind keine Treffer vorhanden.","other_filters":"Sonstige Optionen:","radius_option_2":"15km","radius":"Umkreis","breastpumps":"Milchpumpen mieten","filter_description":"Eingrenzen auf:","radius_option_1_value":"31","title":"Suche","welcome_message":"Geben Sie bitte einen Ort oder eine Adresse im Suchfeld ein.","filters":{"pump_in_style":"Pump in Style","additional_products":"Erweitertes Warensortiment","buy":"Kaufen","mini_electric":"Mini Electric","feeding_devices":"Spezial-Stillhilfen","rent_and_buy":"Mieten und Kaufen","swing":"Swing","rent":"Mietstation","symphony":"Symphony","accessories":"Zubeh\u00f6r","harmony":"Harmony","freestyle":"Freestyle","apparel":"Stillw\u00e4sche","classic":"Classic","lactina":"Lactina","lactation_consultant":"nur Stillberater anzeigen"},"radius_option_2_value":"9.3","radius_option_3":"5km"},"date":{"abbr_day_names":["So","Mo","Di","Mi","Do","Fr","Sa"],"formats":{"default":"%d.%m.%Y","only_day":"%e","long":"%e. %B %Y","short":"%e. %b"},"month_names":[null,"Januar","Februar","M\u00e4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],"abbr_month_names":[null,"Jan","Feb","M\u00e4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],"order":["day","month","year"],"day_names":["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},"datetime":{"prompts":{"minute":"Minuten","month":"Monat","year":"Jahr","hour":"Stunden","day":"Tag","second":"Sekunden"},"distance_in_words":{"half_a_minute":"eine halbe Minute","about_x_hours":{"other":"etwa {{count}} Stunden","one":"etwa 1 Stunde"},"about_x_years":{"other":"etwa {{count}} Jahre","one":"etwa 1 Jahr"},"x_seconds":{"other":"{{count}} Sekunden","one":"1 Sekunde"},"x_days":{"other":"{{count}} Tage","one":"1 Tag"},"over_x_years":{"other":"mehr als {{count}} Jahre","one":"mehr als 1 Jahr"},"less_than_x_minutes":{"zero":"weniger als 1 Minute","other":"weniger als {{count}} Minuten","one":"weniger als eine Minute"},"about_x_months":{"other":"etwa {{count}} Monate","one":"etwa 1 Monat"},"x_minutes":{"other":"{{count}} Minuten","one":"1 Minute"},"x_months":{"other":"{{count}} Monate","one":"1 Monat"},"less_than_x_seconds":{"zero":"weniger als 1 Sekunde","other":"weniger als {{count}} Sekunden","one":"weniger als 1 Sekunde"}}},"number":{"human":{"storage_units":{"format":"%n %u","units":{"mb":"MB","gb":"GB","tb":"TB","byte":{"other":"Bytes","one":"Byte"},"kb":"KB"}},"format":{"delimiter":"","precision":1}},"format":{"delimiter":".","separator":",","precision":2},"percentage":{"format":{"delimiter":""}},"currency":{"format":{"delimiter":"","separator":"","unit":"\u20ac","format":"%n%u","precision":null}},"precision":{"format":{"delimiter":""}}},"activerecord":{"errors":{"full_messages":{"format":""},"messages":{"odd":"muss ungerade sein","record_invalid":"Validierung fehlgeschlagen","greater_than":"muss gr\u00f6\u00dfer als {{count}} sein","too_long":"ist zu lang (nicht mehr als {{count}} Zeichen)","confirmation":"stimmt nicht mit der Best\u00e4tigung \u00fcberein","even":"muss gerade sein","greater_than_or_equal_to":"muss gr\u00f6\u00dfer oder gleich {{count}} sein","inclusion":"ist kein g\u00fcltiger Wert","equal_to":"muss genau {{count}} sein","empty":"muss ausgef\u00fcllt werden","less_than":"muss kleiner als {{count}} sein","accepted":"muss akzeptiert werden","wrong_length":"hat die falsche L\u00e4nge (muss genau {{count}} Zeichen haben)","exclusion":"ist nicht verf\u00fcgbar","less_than_or_equal_to":"muss kleiner oder gleich {{count}} sein","not_a_number":"ist keine Zahl","taken":"ist bereits vergeben","too_short":"ist zu kurz (nicht weniger als {{count}} Zeichen)","invalid":"ist nicht g\u00fcltig","blank":"muss ausgef\u00fcllt werden"},"template":{"header":{"other":"Konnte dieses {{model}} Objekt nicht speichern: {{count}} Fehler.","one":"Konnte dieses {{model}} Objekt nicht speichern: 1 Fehler."},"body":"Bitte \u00fcberpr\u00fcfen Sie die folgenden Felder:"}}},"support":{"array":{"last_word_connector":" und ","words_connector":", ","two_words_connector":" und "},"select":{"prompt":""}},"navigation":{"media":"Medien","contact":"Kontakt","switch_region":"Region wechseln","extranet":"Extranet","news":"News \u0026amp; Termine","corporate":"Medela World Site","homepage":"Startseite","about":"\u00dcber Medela"},"page_title":"Medela Produkte in Ihrer N\u00e4he."},"cn":{"flyout":{"print":"\u6253\u5370","email":"\u7535\u5b50\u90ae\u4ef6","shop_hours":"\u5de5\u4f5c\u65f6\u95f4","route_planning":"\u83b7\u5f97\u6307\u5357","phone":"\u7535\u8bdd","internet":"URL","close":"\u5173\u95ed","offer":"\u63d0\u51fa"},"config":{"domain":"http://www.medela.com","extranet_domain":"http://extranet.medela.ch"},"time":{"am":"\u4e0a\u5348","formats":{"default":"%a, %d %b %Y %H:%M:%S %z","long":"%B %d, %Y %H:%M","short":"%d %b %H:%M"},"pm":"\u4e0b\u5348"},"search":{"radius_option_1":"50\u516c\u91cc","radius_option_3_value":"1.24","query_description":"\uff08\u4f8b\u5982\uff1a\u8857\u9053\uff0c\u57ce\u5e02\u6216\u90ae\u7f16\uff09","no_result_message":"\u60a8\u7684\u67e5\u8be2\u6ca1\u6709\u54cd\u5e94\u7ed3\u679c","other_filters":"\u5176\u4ed6\u9009\u62e9","radius_option_2":"15\u516c\u91cc","radius":"\u534a\u5f84","breastpumps":"\u5438\u4e73\u5668","filter_description":"\u7b5b\u9009\u9879","radius_option_1_value":"31","title":"\u641c\u7d22","welcome_message":"\u8bf7\u8f93\u5165\u4e00\u4e2a\u57ce\u5e02\u548c\u90ae\u7f16\uff0c\u6216\u70b9\u51fb\u5730\u56fe\u4e0a\u7684\u6807\u8bb0\u7269","filters":{"pump_in_style":"\u65b0\u98ce\u97f5","additional_products":"\u6269\u5145\u4ea7\u54c1\u8303\u56f4","buy":"\u4e70","mini_electric":"\u8ff7\u4f60\u2161","feeding_devices":"\u7279\u9700\u5582\u517b\u4ea7\u54c1","rent_and_buy":"\u79df\u8d41\u6216\u8d2d\u4e70","swing":"\u4e1d\u97f5","rent":"\u79df\u8d41","accessories":"\u9644\u4ef6","symphony":"\u5fc3\u97f5","harmony":"\u548c\u97f5","freestyle":"\u98de\u97f5","apparel":"\u670d\u88c5","classic":"\u7ecf\u5178","lactina":"\u7ecf\u5178\u52a8\u529b","lactation_consultant":"\u6bcd\u4e73\u5582\u517b\u987e\u95ee"},"radius_option_2_value":"9.3","radius_option_3":"2\u516c\u91cc"},"date":{"abbr_day_names":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"formats":{"default":"%Y-%m-%d","long":"%B %d, %Y","short":"%b %d"},"month_names":[null,"January","February","March","April","May","June","July","August","September","October","November","December"],"abbr_month_names":[null,"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"order":["year","month","day"],"day_names":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"datetime":{"prompts":{"minute":"\u5206\u949f","month":"\u6708","year":"\u5e74","hour":"\u5c0f\u65f6","day":"\u5929","second":"\u79d2"},"distance_in_words":{"half_a_minute":"\u534a\u5206\u949f","about_x_hours":{"other":"\u7ea6{{\u8ba1\u6570}}\u5c0f\u65f6","one":"\u7ea61\u5c0f\u65f6"},"about_x_years":{"other":"\u7ea6{{\u8ba1\u6570}}\u5e74","one":"\u7ea61\u5e74"},"x_seconds":{"other":"{{\u8ba1\u6570}} \u79d2","one":"1\u79d2"},"x_days":{"other":"{{\u8ba1\u6570}}\u5929","one":"1\u5929"},"over_x_years":{"other":"\u8d85\u8fc7{{\u8ba1\u6570}}\u5e74","one":"\u8d85\u8fc71\u5e74"},"less_than_x_minutes":{"zero":"\u4e0d\u5230\u4e00\u5206\u949f","other":"\u5c11\u4e8e{{\u8ba1\u6570}}\u5206\u949f","one":"\u5c11\u4e8e1\u5206\u949f"},"about_x_months":{"other":"\u7ea6{{\u8ba1\u6570}}\u6708","one":"\u7ea61\u4e2a\u6708"},"x_minutes":{"other":"{{\u8ba1\u6570}}\u5206\u949f","one":"1\u5206\u949f"},"x_months":{"other":"{{\u8ba1\u6570}}\u6708","one":"1\u4e2a\u6708"},"less_than_x_seconds":{"zero":"\u4e0d\u5230\u4e00\u79d2","other":"\u5c11\u4e8e{{\u8ba1\u6570}}\u79d2","one":"\u5c11\u4e8e1\u79d2"}}},"number":{"human":{"storage_units":{"format":"%n %u","units":{"mb":"MB","gb":"GB","tb":"TB","byte":{"other":"\u5b57\u8282\u6570","one":"\u5b57\u8282"},"kb":"KB"}},"format":{"delimiter":"","precision":1}},"format":{"delimiter":",","separator":".","precision":3},"percentage":{"format":{"delimiter":""}},"currency":{"format":{"delimiter":",","separator":".","unit":"\uffe5","format":"%u%n","precision":2}},"precision":{"format":{"delimiter":""}}},"activerecord":{"errors":{"full_messages":{"format":"{{\u7279\u6027}} {{\u4fe1\u606f}}"},"messages":{"odd":"\u5fc5\u987b\u662f\u5947\u6570","record_invalid":"\u6d4b\u8bd5\u5931\u8d25{{\u9519\u8bef}}","greater_than":"\u5fc5\u987b\u5927\u4e8e{{\u8ba1\u6570}}","too_long":"\u5b57\u8282\u592a\u957f\uff08\u6700\u591a\u662f{{\u8ba1\u6570}}\u5b57\u8282\uff09","confirmation":"\u4e0e\u786e\u8ba4\u4fe1\u606f\u4e0d\u7b26","even":"\u5fc5\u987b\u76f8\u540c","greater_than_or_equal_to":"\u5fc5\u987b\u5927\u4e8e\u6216\u7b49\u4e8e{{\u8ba1\u6570}}","inclusion":"\u4e0d\u5728\u76ee\u5f55\u4e2d","equal_to":"\u5fc5\u987b\u7b49\u4e8e{{\u8ba1\u6570}}","empty":"\u4e0d\u80fd\u7559\u7a7a\u767d","less_than":"\u5fc5\u987b\u5c0f\u4e8e{{\u8ba1\u6570}}","accepted":"\u5fc5\u987b\u63a5\u53d7","wrong_length":"\u5b57\u8282\u957f\u5ea6\u9519\u8bef\uff08\u5e94\u8be5\u662f{{\u8ba1\u6570}}\u5b57\u8282\uff09","exclusion":"\u4fdd\u7559","less_than_or_equal_to":"\u5fc5\u987b\u5c0f\u4e8e\u6216\u7b49\u4e8e","not_a_number":"\u4e0d\u662f\u4e00\u4e2a\u6570\u5b57","taken":"\u5df2\u7ecf\u5904\u7406","too_short":"\u5b57\u8282\u592a\u77ed\uff08\u6700\u5c11\u662f{{\u8ba1\u6570}}\u5b57\u8282\uff09","invalid":"\u65e0\u6548\u7684","blank":"\u4e0d\u80fd\u7559\u7a7a\u767d"},"template":{"header":{"other":"{{\u8ba1\u6570}}\u9519\u8bef\u963b\u6b62\u8fd9\u4e2a{{\u6a21\u5f0f}}\u4e88\u4ee5\u50a8\u5b58","one":"1\u4e2a\u9519\u8bef\u963b\u6b62\u8fd9\u4e2a{{\u6a21\u5f0f}}\u4e88\u4ee5\u50a8\u5b58"},"body":"\u6709\u4ee5\u4e0b\u76f8\u5173\u65b9\u9762\u7684\u95ee\u9898"}}},"support":{"array":{"last_word_connector":", \u548c","words_connector":", ","two_words_connector":"\u548c"},"select":{"prompt":"\u8bf7\u9009\u62e9"}},"navigation":{"media":"\u5a92\u4f53","contact":"\u8054\u7cfb\u6211\u4eec","switch_region":"\u8f6c\u6362\u533a\u57df","extranet":"\u4f01\u4e1a\u5916\u7f51","news":"\u65b0\u95fb\u4e0e\u62a5\u9053","corporate":"\u7f8e\u5fb7\u4e50\u5168\u7403\u7ad9\u70b9","homepage":"\u4e3b\u9875","about":"\u5173\u4e8e\u7f8e\u5fb7\u4e50"},"page_title":"\u7f8e\u5fb7\u4e50\u7f51\u5e97\u641c\u7d22"},"en":{"flyout":{"print":"Print","email":"Email","shop_hours":"Opening hours","route_planning":"Route","phone":"Phone","internet":"URL","close":"close","offer":"Offer"},"config":{"domain":"http://www.medela.com","extranet_domain":"http://extranet.medela.ch"},"time":{"am":"am","formats":{"time":"","default":"%a, %d %b %Y %H:%M:%S %z","long":"%B %d, %Y %H:%M","short":"%d %b %H:%M"},"pm":"pm"},"search":{"radius_option_1":"50 miles","radius_option_3_value":"3.1","query_description":"(e.g.: street, city or postal code)","no_result_message":"Your search led to no results.","other_filters":"Other options:","radius_option_2":"15 miles","radius":"Radius","breastpumps":"Breastpumps","filter_description":"Filter with:","radius_option_1_value":"31","title":"Search","welcome_message":"Please enter a city and postal code or click a marker on the map.","filters":{"pump_in_style":"Pump in Style","additional_products":"Enhanced product range","buy":"Buy","mini_electric":"Mini Electric","feeding_devices":"Special feeding devices","rent_and_buy":"Rent or Buy","swing":"Swing","rent":"Rent","accessories":"Accessories","symphony":"Symphony","harmony":"Harmony","freestyle":"Freestyle","apparel":"Apparel","classic":"Classic","lactina":"Lactina","lactation_consultant":"Lactation consultant"},"radius_option_2_value":"9.3","radius_option_3":"5 miles"},"date":{"abbr_day_names":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"formats":{"default":"%Y-%m-%d","only_day":"","long":"%B %d, %Y","short":"%b %d"},"abbr_month_names":[null,"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"month_names":[null,"January","February","March","April","May","June","July","August","September","October","November","December"],"order":["year","month","day"],"day_names":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"datetime":{"prompts":{"minute":"Minute","month":"Month","year":"Year","hour":"Hour","second":"Seconds","day":"Day"},"distance_in_words":{"half_a_minute":"half a minute","about_x_hours":{"other":"about {{count}} hours","one":"about 1 hour"},"about_x_years":{"other":"about {{count}} years","one":"about 1 year"},"x_days":{"other":"{{count}} days","one":"1 day"},"x_seconds":{"other":"{{count}} seconds","one":"1 second"},"less_than_x_minutes":{"zero":"less than a minute","other":"less than {{count}} minutes","one":"less than a minute"},"over_x_years":{"other":"over {{count}} years","one":"over 1 year"},"about_x_months":{"other":"about {{count}} months","one":"about 1 month"},"almost_x_years":{"other":"almost {{count}} years","one":"almost 1 year"},"x_minutes":{"other":"{{count}} minutes","one":"1 minute"},"x_months":{"other":"{{count}} months","one":"1 month"},"less_than_x_seconds":{"zero":"less than 1 second","other":"less than {{count}} seconds","one":"less than 1 second"}}},"number":{"format":{"separator":".","delimiter":",","precision":3},"human":{"storage_units":{"format":"%n %u","units":{"mb":"MB","gb":"GB","tb":"TB","byte":{"other":"Bytes","one":"Byte"},"kb":"KB"}},"format":{"delimiter":"","precision":1}},"percentage":{"format":{"delimiter":""}},"precision":{"format":{"delimiter":""}},"currency":{"format":{"separator":".","delimiter":",","unit":"$","format":"%u%n","precision":2}}},"navigation":{"media":"Media","contact":"Contact","switch_region":"Switch region","extranet":"Extranet","news":"News \u0026 Facts","corporate":"Medela World Site","homepage":"Homepage","about":"About Medela"},"activerecord":{"errors":{"full_messages":{"format":"{{attribute}} {{message}}"},"messages":{"record_invalid":"Validation failed: {{errors}}","odd":"must be odd","confirmation":"doesn't match confirmation","too_long":"is too long (maximum is {{count}} characters)","greater_than":"must be greater than {{count}}","even":"must be even","greater_than_or_equal_to":"must be greater than or equal to {{count}}","inclusion":"is not included in the list","equal_to":"must be equal to {{count}}","empty":"can't be empty","accepted":"must be accepted","less_than":"must be less than {{count}}","exclusion":"is reserved","wrong_length":"is the wrong length (should be {{count}} characters)","taken":"has already been taken","not_a_number":"is not a number","less_than_or_equal_to":"must be less than or equal to {{count}}","blank":"can't be blank","invalid":"is invalid","too_short":"is too short (minimum is {{count}} characters)"},"template":{"header":{"other":"{{count}} errors prohibited this {{model}} from being saved","one":"1 error prohibited this {{model}} from being saved"},"body":"There were problems with the following fields:"}}},"support":{"array":{"last_word_connector":", and ","words_connector":", ","two_words_connector":" and "},"select":{"prompt":"Please select"}},"page_title":"Medela location finder"}};

(function(){

  var interpolatePattern = /\{\{([^}]+)\}\}/g;

  //Replace {{foo} with obj.foo
  function interpolate(str, obj){
    return str.replace(interpolatePattern, function(){
      return obj[arguments[1]] || arguments[0];
    });
  };

  //Split "foo.bar" to ["foo", "bar"] if key is a string
  function keyToArray(key){
    if (!key) return [];
    if (typeof key != "string") return key;
    return key.split('.');
  };

  function locale(){
    return I18n.locale || I18n.defaultLocale;
  };

  function getLocaleFromCookie(){
    var cookies = document.cookie.split(/\s*;\s*/),
        i, pair, locale;
    for (i = 0; i < cookies.length; i++) {
      pair = cookies[i].split('=');
      if (pair[0] === 'locale') { locale = pair[1]; break; }
    }
    return locale;
  };


  I18n.init = function(){
    this.locale = getLocaleFromCookie();
  };

  //Works mostly the same as the Ruby equivalent, except there are
  //no symbols in JavaScript, so keys are always strings. The only time
  //this makes a difference is when differentiating between keys and values
  //in the defaultValue option. Strings starting with ":" will be considered
  //to be keys and used for lookup, while other strings are returned as-is.
  I18n.translate = function(key, opts){
    if (typeof key != "string") { //Bulk lookup
      var a = [], i;
      for (i=0; i<key.length; i++) {
        a.push(this.translate(key[i], opts));
      }
      return a;
    } else {
      opts = opts || {};
      opts.defaultValue = opts.defaultValue || null;
      key = keyToArray(opts.scope).concat(keyToArray(key));
      var value = this.lookup(key, opts.defaultValue);
      if (typeof value != "string" && value) value = this.pluralize(value, opts.count);
      if (typeof value == "string") value = interpolate(value, opts);
      return value;
    }
  };

  I18n.t = I18n.translate;

  //Looks up a translation using an array of strings where the last
  //is the key and any string before that define the scope. The current
  //locale is always prepended and does not need to be provided. The second
  //parameter is an array of strings used as defaults if the key can not be
  //found. If a key starts with ":" it is used as a key for lookup.
  //This method does not perform pluralization or interpolation.
  I18n.lookup = function(keys, defaults){
    var i = 0, value = this.translations[locale()];
    defaults = typeof defaults == "string" ? [defaults] : (defaults || []);
    while (keys[i]) {
      value = value && value[keys[i]];
      i++;
    }
    if (value){
      return value;
    } else {
      if (defaults.length == 0) {
        return null;
      } else if (defaults[0].substr(0,1) == ':') {
        return this.lookup(keys.slice(0,keys.length-1).concat(keyToArray(defaults[0].substr(1))), defaults.slice(1));
      } else {
        return defaults[0];
      }
    }
  };

  I18n.pluralize = function(value, count){
    if (!count) return value;
    return count == 1 ? value.one : value.other;
  };

})();

I18n.init();
