<filename>dataviva/translations/translate.py
# -*- coding: utf-8 -*-
from dictionary import dictionary

''' Translates the columns names
'''
def translate(column):

    d = dictionary()
    return d.get(column, column)

<filename>dataviva/translations/translate.py
# -*- coding: utf-8 -*-
from dictionary import dictionary

''' Translates the columns names
'''
def translate(column):

    d = dictionary()
    return d.get(column, column)

# -*- coding: utf-8 -*- Translates the columns names