So simply there is no errors but the for loop is not working :
from tkinter import ttk
from tkinter import *
dic={'af': 'afrikaans', 'sq': 'albanian', 'am': 'amharic', 'ar': 'arabic'}
c=ttk.Combobox(values=list(dic.values()));c.grid(row=1,column=2)
j=c.current()
def blinta() :
global j,s,dic
print('1')
for key,value in dic.items() :
if str(j)==str(value):
s=str(key)
print(s)
vb=Button(text='translate',command=blinta).grid(row=1,column=3,pady=10)