Panama and Mexico are two different countries. Spanish is the official language of both countries, but many other languages are spoken.
Here are the 14 languages of Panama:
1. Buglere
2. Chinese, Hakka
3. Chinese, Yue
4. Emberá, Northern
5. Emberá-Catío
6. Epena
7. Kuna, Border
8. Kuna, San Blas
9. Ngäbere
10. Panamanian Creole English
11. San Miguel Creole French
12. Spanish
13. Teribe
14. Woun Meu
Here are the 299 languages of Mexico:
1. Afro-Seminole Creole
2. Amuzgo, Guerrero
3. Amuzgo, Ipalapa
4. Amuzgo, San Pedro Amuzgos
5. Chatino, Eastern Highland
6. Chatino, Nopala
7. Chatino, Tataltepec
8. Chatino, Western Highland
9. Chatino, Zacatepec
10. Chatino, Zenzontepec
11. Chiapanec
12. Chichimeca-Jonaz
13. Chicomuceltec
14. Chinantec, Chiltepec
15. Chinantec, Comaltepec
16. Chinantec, Lalana
17. Chinantec, Lealao
18. Chinantec, Ojitlán
19. Chinantec, Ozumacín
20. Chinantec, Palantla
21. Chinantec, Quiotepec
22. Chinantec, Sochiapam
23. Chinantec, Tepetotutla
24. Chinantec, Tepinapa
25. Chinantec, Tlacoatzintepec
26. Chinantec, Usila
27. Chinantec, Valle Nacional
28. Chocholtec
29. Chol, Tila
30. Chol, Tumbalá
31. Chontal, Highland Oaxaca
32. Chontal, Lowland Oaxaca
33. Chontal, Tabasco
34. Chuj, Ixtatán
35. Cochimi
36. Cocopa
37. Cora, El Nayar
38. Cora, Santa Teresa
39. Cuicatec, Tepeuxila
40. Cuicatec, Teutila
41. Huarijío
42. Huastec, San Luís Potosí
43. Huastec, Southeastern
44. Huastec, Veracruz
45. Huave, San Dionisio del Mar
46. Huave, San Francisco del Mar
47. Huave, San Mateo del Mar
48. Huave, Santa María del Mar
49. Huichol
50. Ixcatec
51. Jacaltec, Western
52. Kanjobal, Western
53. Kickapoo
54. Kiliwa
55. Kumiai
56. Lacandon
57. Mam, Northern
58. Mam, Todos Santos
59. Matlatzinca, Atzingo
60. Matlatzinca, San Francisco
61. Maya, Chan Santa Cruz
62. Maya, Yucatán
63. Mayo
64. Mazahua, Central
65. Mazahua, Michoacán
66. Mazatec, Ayautla
67. Mazatec, Chiquihuitlán
68. Mazatec, Huautla
69. Mazatec, Ixcatlán
70. Mazatec, Jalapa de Díaz
71. Mazatec, Mazatlán
72. Mazatec, San Jerónimo Tecóatl
73. Mazatec, Soyaltepec
74. Me'phaa, Acatepec
75. Me'phaa, Azoyú
76. Me'phaa, Malinaltepec
77. Me'phaa, Tlacoapa
78. Mexican Sign Language
79. Mixe, Coatlán
80. Mixe, Isthmus
81. Mixe, Juquila
82. Mixe, Mazatlán
83. Mixe, North Central
84. Mixe, Quetzaltepec
85. Mixe, Tlahuitoltepec
86. Mixe, Totontepec
87. Mixtec, Alacatlatzala
88. Mixtec, Alcozauca
89. Mixtec, Amoltepec
90. Mixtec, Apasco-Apoala
91. Mixtec, Atatláhuca
92. Mixtec, Ayutla
93. Mixtec, Cacaloxtepec
94. Mixtec, Chayuco
95. Mixtec, Chazumba
96. Mixtec, Chigmecatitlán
97. Mixtec, Coatzospan
98. Mixtec, Cuyamecalco
99. Mixtec, Diuxi-Tilantongo
100. Mixtec, Huitepec
101. Mixtec, Itundujia
102. Mixtec, Ixtayutla
103. Mixtec, Jamiltepec
104. Mixtec, Juxtlahuaca
105. Mixtec, Magdalena Peñasco
106. Mixtec, Metlatónoc
107. Mixtec, Mitlatongo
108. Mixtec, Mixtepec
109. Mixtec, Northern Tlaxiaco
110. Mixtec, Northwest Oaxaca
111. Mixtec, Ocotepec
112. Mixtec, Peñoles
113. Mixtec, Pinotepa Nacional
114. Mixtec, San Juan Colorado
115. Mixtec, San Juan Teita
116. Mixtec, San Miguel el Grande
117. Mixtec, San Miguel Piedras
118. Mixtec, Santa Lucía Monteverde
119. Mixtec, Santa María Zacatepec
120. Mixtec, Silacayoapan
121. Mixtec, Sindihui
122. Mixtec, Sinicahua
123. Mixtec, Southeastern Nochixtlán
124. Mixtec, Southern Puebla
125. Mixtec, Southwestern Tlaxiaco
126. Mixtec, Soyaltepec
127. Mixtec, Tacahua
128. Mixtec, Tamazola
129. Mixtec, Tezoatlán
130. Mixtec, Tidaá
131. Mixtec, Tijaltepec
132. Mixtec, Tlazoyaltepec
133. Mixtec, Tututepec
134. Mixtec, Western Juxtlahuaca
135. Mixtec, Yoloxóchitl
136. Mixtec, Yosondúa
137. Mixtec, Yucuañe
138. Mixtec, Yutanduchi
139. Mocho
140. Nahuatl, Central
141. Nahuatl, Central Huasteca
142. Nahuatl, Central Puebla
143. Nahuatl, Classical
144. Nahuatl, Coatepec
145. Nahuatl, Durango
146. Nahuatl, Eastern Huasteca
147. Nahuatl, Guerrero
148. Nahuatl, Highland Puebla
149. Nahuatl, Huaxcaleca
150. Nahuatl, Isthmus-Cosoleacaque
151. Nahuatl, Isthmus-Mecayapan
152. Nahuatl, Isthmus-Pajapan
153. Nahuatl, Michoacán
154. Nahuatl, Morelos
155. Nahuatl, Northern Oaxaca
156. Nahuatl, Northern Puebla
157. Nahuatl, Ometepec
158. Nahuatl, Orizaba
159. Nahuatl, Santa María la Alta
160. Nahuatl, Sierra Negra
161. Nahuatl, Southeastern Puebla
162. Nahuatl, Tabasco
163. Nahuatl, Temascaltepec
164. Nahuatl, Tetelcingo
165. Nahuatl, Tlamacazapa
166. Nahuatl, Western Huasteca
167. Nahuatl, Zacatlán-Ahuacatlán-Tepetzintla
168. Opata
169. Otomi, Eastern Highland
170. Otomi, Estado de México
171. Otomi, Ixtenco
172. Otomi, Mezquital
173. Otomi, Querétaro
174. Otomi, Temoaya
175. Otomi, Tenango
176. Otomi, Texcatepec
177. Otomi, Tilapa
178. Paipai
179. Pame, Central
180. Pame, Northern
181. Pame, Southern
182. Pima Bajo
183. Plautdietsch
184. Popoloca, Coyotepec
185. Popoloca, Mezontla
186. Popoloca, San Felipe Otlaltepec
187. Popoloca, San Juan Atzingo
188. Popoloca, San Luís Temalacayuca
189. Popoloca, San Marcos Tlalcoyalco
190. Popoloca, Santa Inés Ahuatempan
191. Popoluca, Highland
192. Popoluca, Oluta
193. Popoluca, Sayula
194. Popoluca, Texistepec
195. Purepecha
196. Purepecha, Western Highland
197. Seri
198. Spanish
199. Tacanec
200. Tarahumara, Central
201. Tarahumara, Northern
202. Tarahumara, Southeastern
203. Tarahumara, Southwestern
204. Tarahumara, Western
205. Tectitec
206. Tepecano
207. Tepehua, Huehuetla
208. Tepehua, Pisaflores
209. Tepehua, Tlachichilco
210. Tepehuan, Northern
211. Tepehuan, Southeastern
212. Tepehuan, Southwestern
213. Tojolabal
214. Totonac, Coyutla
215. Totonac, Filomena Mata-Coahuitlán
216. Totonac, Highland
217. Totonac, Papantla
218. Totonac, Tecpatlán
219. Totonac, Upper Necaxa
220. Totonac, Ozumatlán
221. Totonac, Xicotepec de Juárez
222. Totonac, Yecuatla
223. Triqui, Chicahuaxtla
224. Triqui, Copala
225. Triqui, San Martín Itunyoso
226. Tubar
227. Tzeltal, Bachajón
228. Tzeltal, Oxchuc
229. Tzotzil, Chamula
230. Tzotzil, Chenalhó
231. Tzotzil, Huixtán
232. Tzotzil, San Andrés Larrainzar
233. Tzotzil, Venustiano Carranza
234. Tzotzil, Zinacantán
235. Yaqui
236. Yucatec Maya Sign Language
237. Zapotec
238. Zapotec, Aloápam
239. Zapotec, Amatlán
240. Zapotec, Asunción Mixtepec
241. Zapotec, Ayoquesco
242. Zapotec, Cajonos
243. Zapotec, Chichicapan
244. Zapotec, Choapan
245. Zapotec, Coatecas Altas
246. Zapotec, Coatlán
247. Zapotec, El Alto
248. Zapotec, Elotepec
249. Zapotec, Guevea de Humboldt
250. Zapotec, Güilá
251. Zapotec, Isthmus
252. Zapotec, Lachiguiri
253. Zapotec, Lachixío
254. Zapotec, Lapaguía-Guivini
255. Zapotec, Loxicha
256. Zapotec, Mazaltepec
257. Zapotec, Miahuatlán
258. Zapotec, Mitla
259. Zapotec, Mixtepec
260. Zapotec, Ocotlán
261. Zapotec, Ozolotepec
262. Zapotec, Petapa
263. Zapotec, Quiavicuzas
264. Zapotec, Quioquitani-Quierí
265. Zapotec, Rincón
266. Zapotec, San Agustín Mixtepec
267. Zapotec, San Baltazar Loxicha
268. Zapotec, San Juan Guelavía
269. Zapotec, San Pedro Quiatoni
270. Zapotec, San Vicente Coatlán
271. Zapotec, Santa Catarina Albarradas
272. Zapotec, Santa Inés Yatzechi
273. Zapotec, Santa María Quiegolani
274. Zapotec, Santiago Xanica
275. Zapotec, Santo Domingo Albarradas
276. Zapotec, Sierra de Juárez
277. Zapotec, Southeastern Ixtlán
278. Zapotec, Southern Rincon
279. Zapotec, Tabaa
280. Zapotec, Tejalapan
281. Zapotec, Texmelucan
282. Zapotec, Tilquiapan
283. Zapotec, Tlacolulita
284. Zapotec, Totomachapan
285. Zapotec, Xadani
286. Zapotec, Xanaguía
287. Zapotec, Yalálag
288. Zapotec, Yareni
289. Zapotec, Yatee
290. Zapotec, Yatzachi
291. Zapotec, Yautepec
292. Zapotec, Zaachila
293. Zapotec, Zaniza
294. Zapotec, Zoogocho
295. Zoque, Chimalapa
296. Zoque, Copainalá
297. Zoque, Francisco León
298. Zoque, Rayón
299. Zoque, Tabasco