Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.57 KB | None | 0 0
  1. var translation = {
  2. source: {
  3. title: "Looking for sex tonight in your area?",
  4. text01: "Looking for sex tonight in your area?",
  5. text02: "Are you older than 18 years?",
  6. text03: "No",
  7. text04: "Yes",
  8. text05: "Many of these women are desperate single moms and cheating wives looking for some fun. They could be your neighbors or someone you know. Do you agree to keep the identity of these women a secret?",
  9. text06: "Yes",
  10. text07: "No",
  11. text08: "These women have asked us to not allow men that are seeking a relationship. They only desire quick sex. Not dating. Do you agree to thisrequest?",
  12. text09: "Yes",
  13. text10: "No",
  14. text11: "Do you agree to use a condom when having sex with a partner you meet on our site?",
  15. text12: "Yes",
  16. text13: "No",
  17. text14: "Thank you. You may now see our list and photos of women who are in your area. Put your phone number, and She will call you immediately.",
  18. text15: "Continue"
  19. },
  20. en: {
  21. title: "Looking for sex tonight in your area?",
  22. text01: "Looking for sex tonight in your area?",
  23. text02: "Are you older than 18 years?",
  24. text03: "No",
  25. text04: "Yes",
  26. text05: "Many of these women are desperate single moms and cheating wives looking for some fun. They could be your neighbors or someone you know. Do you agree to keep the identity of these women a secret?",
  27. text06: "Yes",
  28. text07: "No",
  29. text08: "These women have asked us to not allow men that are seeking a relationship. They only desire quick sex. Not dating. Do you agree to thisrequest?",
  30. text09: "Yes",
  31. text10: "No",
  32. text11: "Do you agree to use a condom when having sex with a partner you meet on our site?",
  33. text12: "Yes",
  34. text13: "No",
  35. text14: "Thank you. You may now see our list and photos of women who are in your area. Put your phone number, and She will call you immediately.",
  36. text15: "Continue"
  37. },
  38. de: {
  39. title: "Das funktioniert besser als Tinder!",
  40. text01: "Das funktioniert besser als Tinder!",
  41. text02: "Was bist du?",
  42. text03: "Mann",
  43. text04: "Frau",
  44. text05: "Was ist dein Geschlecht?",
  45. text06: "Mann",
  46. text07: "Frau",
  47. text08: "Bist du alter als 18?",
  48. text09: "Ja",
  49. text10: "Nein",
  50. text11: "Wurdest du ein Kondom verwenden wenn du Sex?",
  51. text12: "Ja",
  52. text13: "Nein",
  53. text14: "Sie kأ¶nnen sich jetzt unsere Liste sowie die Fotos von Frauen aus Ihrer Umgebung ansehen. Berأ¼hren Sie fأ¼r eine Suche gemأ¤أں Ortskennnummer/Postleitzahl den nachfolgenden \"WEITER\" Button.",
  54. text15: "Weiter"
  55. },
  56. dk: {
  57. title: "Bedre end Tinder!",
  58. text01: "Bedre end Tinder!",
  59. text02: "Leder du efter mأ¦nd eller kvinder?",
  60. text03: "MAND",
  61. text04: "KVINDE",
  62. text05: "Er du en mأ¦nd eller kvinde?",
  63. text06: "MAND",
  64. text07: "KVINDE",
  65. text08: "Er du mindst 18 أ¥r gammel?",
  66. text09: "JA",
  67. text10: "NEJ",
  68. text11: "Accepterer du at bruge kondom, nأ¥r du har sex med en partner, som du mأ¸der pأ¥ vores site?",
  69. text12: "JA",
  70. text13: "NEJ",
  71. text14: "Du kan nu se vores liste og fotos af kvinder i dit omrأ¥de. Igen, hold venligst deres identitet hemmelig. Klik pأ¥ knappen \"Fortsأ¦t\" og sأ¸g inden for dit postnummer.",
  72. text15: "Fortsأ¦t"
  73. },
  74. es: {
  75. title: "آ،Mejor que el Tinder!",
  76. text01: "آ،Mejor que el Tinder!",
  77. text02: "آ؟Estأ،s buscando hombres o mujeres?",
  78. text03: "MUJERES",
  79. text04: "HOMBRE",
  80. text05: "آ؟Eres un hombre o una mujer?",
  81. text06: "MUJERES",
  82. text07: "HOMBRE",
  83. text08: "Por أ؛ltimo, آ؟tienes al menos 18 aأ±os?",
  84. text09: "Sأ­",
  85. text10: "No",
  86. text11: "آ؟Aceptas usar condأ³n cuando te acuestes con alguien que has conocido en nuestro sitio?",
  87. text12: "Sأ­",
  88. text13: "No",
  89. text14: "Ahora puedes ver nuestra lista de mujeres en tu zona y tambiأ©n puedes ver sus fotos. Haz clic en el botأ³n “Continuarâ€‌ de abajo para efectuar una bأ؛squeda con tu cأ³digo zip/postal.",
  90. text15: "Continuar"
  91. },
  92. fi: {
  93. title: "Parempi kuin Tinder!",
  94. text01: "Parempi kuin Tinder!",
  95. text02: "Etsitkأ¶ miehiأ¤ vai naisia?",
  96. text03: "MIEHIأ„",
  97. text04: "NAISIA",
  98. text05: "Oletko mies vai nainen?",
  99. text06: "MIES",
  100. text07: "NAINEN",
  101. text08: "Oletko vأ¤hintأ¤أ¤n 18-vuotias?",
  102. text09: "Kyllأ¤",
  103. text10: "Ei",
  104. text11: "Suostutko kأ¤yttأ¤mأ¤أ¤n kondomia harrastaessasi seksiأ¤ sivuston kautta tapaamasi partnerin kanssa?",
  105. text12: "Kyllأ¤",
  106. text13: "Ei",
  107. text14: "Voit nyt tutustua alueesi naisten luetteloon ja kuviin. Kuten sanottu, pidأ¤thأ¤n heidأ¤n henkilأ¶llisyytensأ¤ salaisuutena. Klikkaa â€‌Jatkaâ€‌-painiketta ja hae postinumerollasi.",
  108. text15: "Jatka"
  109. },
  110. fr: {
  111. title: "Mieux que Tinder!",
  112. text01: "Mieux que Tinder!",
  113. text02: "Avec qui veux-tu t'envoyer en l'air?",
  114. text03: "UN HOMME",
  115. text04: "UNE FEMME",
  116. text05: "Tu es?",
  117. text06: "UN HOMME",
  118. text07: "UNE FEMME",
  119. text08: "Et enfin, avez-vous 18 ans ou plus?",
  120. text09: "QUI",
  121. text10: "NON",
  122. text11: "Accepteriez-vous d'utiliser un prأ©servatif lors des rapports sexuels avec un partenaire que vous rencontrez sur notre site?",
  123. text12: "QUI",
  124. text13: "NON",
  125. text14: "Vous pouvez maintenant accأ©der أ la liste et aux photos des femmes qui sont dans votre rأ©gion. Tapez sur le bouton آ« Continuer آ» ci-dessous pour lancer votre recherche أ l'aide de votre code postal.",
  126. text15: "Continuer"
  127. },
  128. it: {
  129. title: "Meglio di Tinder!",
  130. text01: "Meglio di Tinder!",
  131. text02: "Cerchi uomini o donne?",
  132. text03: "UOMINI",
  133. text04: "DONNE",
  134. text05: "Sei uomo o donna?",
  135. text06: "UOMO",
  136. text07: "DONNA",
  137. text08: "Hai almeno 18 anni?",
  138. text09: "Sأ¬",
  139. text10: "No",
  140. text11: "Sei d’accordo all’utilizzo del preservativo ogni volta che fai sesso con una partner che hai conosciuto nel nostro sito?",
  141. text12: "Sأ¬",
  142. text13: "No",
  143. text14: "Ora puoi vedere la lista e le foto delle donne disponibili nella tua zona. Clicca su \"Continua\" per fare una ricerca con il tuo codice postale.",
  144. text15: "Continua"
  145. },
  146. nl: {
  147. title: "Beter dan Tinder!",
  148. text01: "Beter dan Tinder!",
  149. text02: "Ben je op zoek naar mannen of vrouwen?",
  150. text03: "MANNEN",
  151. text04: "VROUWEN",
  152. text05: "Ben je een man of een vrouw?",
  153. text06: "MAN",
  154. text07: "VROUW",
  155. text08: "Tot slot, ben je minstens 18 jaar oud?",
  156. text09: "JA",
  157. text10: "NEE",
  158. text11: "Ben je het ermee eens om een ​​condoom te gebruiken bij seks met een partner die je ontmoet op onze site?",
  159. text12: "JA",
  160. text13: "NEE",
  161. text14: "Je kunt nu onze lijst en foto's van vrouwen die in jouw omgeving wonen zien. Tik op de \"Doorgaan\"-knop hieronder om te zoeken binnen je postcodegebied.",
  162. text15: "Doorgaan"
  163. },
  164. no: {
  165. title: "Bedre enn Tinder!",
  166. text01: "Bedre enn Tinder!",
  167. text02: "Er du ute etter menn eller kvinner?",
  168. text03: "MENN",
  169. text04: "KVINNER",
  170. text05: "Er du mann eller kvinne?",
  171. text06: "MENN",
  172. text07: "KVINNER",
  173. text08: "Er du minst 18 أ¥r gammel?",
  174. text09: "JA",
  175. text10: "NEI",
  176. text11: "Samtykker du أ¥ bruke kondom nأ¥r du har sex med en partner du har mأ¸tt via nettstedet vأ¥rt?",
  177. text12: "JA",
  178. text13: "NEI",
  179. text14: "Du kan nأ¥ se listen vأ¥r over kvinner som er i ditt omrأ¥de, og du kan se bildene deres. Trykk pأ¥ \"Fortsett\"-knappen under for أ¥ sأ¸ke med ditt postnummer.",
  180. text15: "Fortsett"
  181. },
  182. pt: {
  183. title: "Melhor que o Tinder!",
  184. text01: "Melhor que o Tinder!",
  185. text02: "Vocأھ estأ، procurando por um homem ou mulher?",
  186. text03: "HOMEM",
  187. text04: "MULHER",
  188. text05: "Vocأھ أ© um homem ou uma mulher?",
  189. text06: "HOMEM",
  190. text07: "MULHER",
  191. text08: "Vocأھ tem pelo menos 18 anos de idade?",
  192. text09: "Sim",
  193. text10: "Nأ£o",
  194. text11: "Vocأھ concorda em usar camisinha ao transar com alguأ©m que vocأھ conheأ§a atravأ©s do nosso site?",
  195. text12: "Sim",
  196. text13: "Nأ£o",
  197. text14: "Agora vocأھ jأ، pode conferir a nossa lista e fotos de mulheres aأ­ da sua regiأ£o. Clique no botأ£o \"Continuar\" e pesquise de acordo com o seu CEP.",
  198. text15: "Continuar"
  199. },
  200. ru: {
  201. title: "ذ¥ذ¾ر‡ذµرˆرŒ ذ·ذ°ذ½رڈر‚رŒرپرڈ رپذµذ؛رپذ¾ذ¼ رپذµذ³ذ¾ذ´ذ½رڈ ذ²ذµر‡ذµر€ذ¾ذ¼?",
  202. text01: "ذ¥ذ¾ر‡ذµرˆرŒ ذ·ذ°ذ½رڈر‚رŒرپرڈ رپذµذ؛رپذ¾ذ¼ رپذµذ³ذ¾ذ´ذ½رڈ ذ²ذµر‡ذµر€ذ¾ذ¼?",
  203. text02: "ذ’ذ°ذ¼ رƒذ¶ذµ ذµرپر‚رŒ 18?",
  204. text03: "ذ‌ذµر‚",
  205. text04: "ذ”ذ°",
  206. text05: "ذœذ½ذ¾ذ³ذ¸ذµ ذ¸ذ· رچر‚ذ¸ر… ذ¶ذµذ½ر‰ذ¸ذ½ – ذ¾ر‚ر‡ذ°رڈذ²رˆذ¸ذµرپرڈ ذ¼ذ°ر‚ذµر€ذ¸-ذ¾ذ´ذ¸ذ½ذ¾ر‡ذ؛ذ¸ ذ¸ ذ·ذ°ذ¼رƒذ¶ذ½ذ¸ذµ ذ´ذ°ذ¼ر‹, ذ¸ر‰رƒر‰ذ¸ذµ ذ؟ر€ذ¸ذ؛ذ»رژر‡ذµذ½ذ¸ذ¹ ذ½ذ° رپر‚ذ¾ر€ذ¾ذ½ذµ. ذ‍ذ½ذ¸ ذ¼ذ¾ذ³رƒر‚ ذ¾ذ؛ذ°ذ·ذ°ر‚رŒرپرڈ ذ²ذ°رˆذ¸ذ¼ذ¸ رپذ¾رپذµذ´ذ؛ذ°ذ¼ذ¸ ذ¸ذ»ذ¸ ذ·ذ½ذ°ذ؛ذ¾ذ¼ر‹ذ¼ذ¸. ذ’ر‹ رپذ¾ذ³ذ»ذ°رپذ½ر‹ رپذ¾ر…ر€ذ°ذ½ذ¸ر‚رŒ ذ¸ذ½ر„ذ¾ر€ذ¼ذ°ر†ذ¸رژ ذ¾ ذ½ذ¸ر… ذ² رپذµذ؛ر€ذµر‚ذµ?",
  207. text06: "ذ”ذ°",
  208. text07: "ذ‌ذµر‚",
  209. text08: "ذ­ر‚ذ¸ ذ¶ذµذ½ر‰ذ¸ذ½ر‹ ذ؟ذ¾ذ؟ر€ذ¾رپذ¸ذ»ذ¸ ذ½ذ°رپ ذ½ذµ ذ؟ر€ذµذ´ذ¾رپر‚ذ°ذ²ذ»رڈر‚رŒ ذ¸ذ½ر„ذ¾ر€ذ¼ذ°ر†ذ¸رژ ذ¾ ذ½ذ¸ر… ذ¼رƒذ¶ر‡ذ¸ذ½ذ°ذ¼, ر€ذ°رپرپر‡ذ¸ر‚ر‹ذ²ذ°رژر‰ذ¸ذ¼ ذ½ذ° ذ¾ر‚ذ½ذ¾رˆذµذ½ذ¸رڈ. ذ‘ر‹رپر‚ر€ر‹ذ¹ رپذµذ؛رپ - رچر‚ذ¾ ذ²رپذµ, ر‡ذµذ³ذ¾ ذ¾ذ½ذ¸ ذ¶ذ°ذ¶ذ´رƒر‚. ذ’ر‹ رپذ¾ذ³ذ»ذ°رپذ½ر‹?",
  210. text09: "ذ”ذ°",
  211. text10: "ذ‌ذµر‚",
  212. text11: "ذ’ر‹ رپذ¾ذ³ذ»ذ°رپذ½ر‹ ذ؟ذ¾ذ»رŒذ·ذ¾ذ²ذ°ر‚رŒرپرڈ ذ؟ر€ذµذ·ذµر€ذ²ذ°ر‚ذ¸ذ²ذ¾ذ¼ ذ²ذ¾ ذ²ر€ذµذ¼رڈ رپذµذ؛رپذ°?",
  213. text12: "ذ”ذ°",
  214. text13: "ذ‌ذµر‚",
  215. text14: "ذںذ¾ذ·ذ´ر€ذ°ذ²ذ»رڈذµذ¼! ذ’ذ°ذ¼ ر€ذ°ذ·ر€ذµرˆذµذ½ ذ´ذ¾رپر‚رƒذ؟ ذ؛ ذ½ذ°رˆذµذ¼رƒ رپذ°ذ¹ر‚رƒ. ذ¢ذµذ؟ذµر€رŒ ذ¼ذ¾ذ¶ذ½ذ¾ ذ·ذ°ر€ذµذ³ذ¸رپر‚ر€ذ¸ر€ذ¾ذ²ذ°ر‚رŒرپرڈ ذ¸ ذ؟ر€ذ¸رپر‚رƒذ؟ذ¸ر‚رŒ ذ؛ ذ؟ذ¾ذ¸رپذ؛رƒ رپذµذ؛رپرƒذ°ذ»رŒذ½ذ¾ذ³ذ¾ ذ؟ذ°ر€ر‚ذ½ر‘ر€ذ°.",
  216. text15: "ذںر€ذ¾ذ´ذ¾ذ»ذ¶ذ¸ر‚رŒ"
  217. },
  218. se: {
  219. title: "Bأ¤ttre أ¤n Tinder!",
  220. text01: "Bأ¤ttre أ¤n Tinder!",
  221. text02: "Sأ¶ker du efter mأ¤n eller kvinnor?",
  222. text03: "Mأ„N",
  223. text04: "KVINNOR",
  224. text05: "أ„r du man eller kvinna?",
  225. text06: "MAN",
  226. text07: "KVINNA",
  227. text08: "Slutligen, أ¤r du minst 18 أ¥r gammal?",
  228. text09: "JA",
  229. text10: "NEJ",
  230. text11: "Samtycker du till att anvأ¤nda kondom nأ¤r du har sex med en partner du trأ¤ffat pأ¥ vأ¥r sajt?",
  231. text12: "JA",
  232. text13: "NEJ",
  233. text14: "Du fأ¥r nu lov att se vأ¥r lista med kvinnor som befinner sig i ditt omrأ¥de. Du fأ¥r أ¤ven se deras foton. Tryck pأ¥ \"Fortsأ¤tt\"-knappen nedan fأ¶r att sأ¶ka med ditt postnummer.",
  234. text15: "Fortsأ¤tt"
  235. },
  236. cz: {
  237. title: "To funguje lأ©pe neإ¾ Tinder",
  238. text01: "To funguje lأ©pe neإ¾ Tinder",
  239. text02: "Kdo jsi?",
  240. text03: "Muإ¾",
  241. text04: "إ½ena",
  242. text05: "A koneؤچnؤ›, je vأ،m alespoإˆ 25 let?",
  243. text06: "Ano",
  244. text07: "Ne",
  245. text08: "Souhlasأ­te s tأ­m, إ¾e zachovأ،te utajenou identitu tؤ›chto koؤچiؤچek?",
  246. text09: "Ano",
  247. text10: "Ne",
  248. text11: "Potvrzujete, إ¾e pouإ¾ijete pإ™i sexu s partnerem, kterأ©ho jste potkali na naإ،ich strأ،nkأ،ch, kondom?",
  249. text12: "Ano",
  250. text13: "Ne",
  251. text14: "Nynأ­ se mإ¯إ¾ete podأ­vat na fotky إ¾en إ¾ijأ­cأ­ ve vaإ،em okolأ­. Jeإ،tؤ› jednou vأ،s إ¾أ،dأ،me, abyste uchovali jejich totoإ¾nost v utajenأ­. Kliknؤ›te na tlaؤچأ­tko Pokraؤچovat a vyhledأ،vejte na zأ،kladؤ› vaإ،ich odpovؤ›dأ­.",
  252. text15: "Pokraؤچovat"
  253. },
  254. };
  255.  
  256.  
  257. function replace_text(lang, text) {
  258. x = document.getElementById(text); //Find the element with id="demo"
  259. if (x) { //if element exisits
  260. x.innerHTML = translation[lang][text]; //Change the HTML content
  261. } else {
  262. console.log("element not Found: " + text);
  263. }
  264. }
  265.  
  266. function translation_available(lang) {
  267. if (translation[lang]) {
  268. return lang;
  269. } else {
  270. console.log("translation not Found: " + lang);
  271. return "source";
  272. }
  273. }
  274.  
  275. function detect_language() {
  276. var detected_language = navigator.languages && navigator.languages[0] || navigator.language || navigator.userLanguage;
  277. if (detected_language == "zh-CN") {
  278. detected_language = "zh-Hans";
  279. } else if (detected_language == "zh-SG") {
  280. detected_language = "zh-Hans";
  281. } else if (detected_language == "zh-MY") {
  282. detected_language = "zh-Hans";
  283. } else if (detected_language == "zh-CHS") {
  284. detected_language = "zh-Hans";
  285. } else if (detected_language == "zh-HK") {
  286. detected_language = "zh-Hant";
  287. } else if (detected_language == "zh-MO") {
  288. detected_language = "zh-Hant";
  289. } else if (detected_language == "zh-TW") {
  290. detected_language = "zh-Hant";
  291. } else if (detected_language == "zh-CHT") {
  292. detected_language = "zh-Hant";
  293. } else if (detected_language.length > 2) {
  294. detected_language = detected_language[0] + detected_language[1];
  295. }
  296. ;
  297. return translation_available(detected_language);
  298. }
  299.  
  300. function translate() {
  301. var detected_language = detect_language();
  302.  
  303. for (x in translation["source"]) {
  304. replace_text(detected_language, x);
  305. }
  306.  
  307. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement