func (VS *Server) mayLookForTranslation(c *gin.Context, id bson.ObjectId) (interface{}, bool) {
	if getLanguage(c) != MainLanguage {
		trans, b := VS.getTranslationByIDInstanceAndLanguage(c, id, "h_functionality", "mayLookForTranslation", "trans, b := VS.getTranslationByIDInstanceAndLanguage")
		if b {
			return trans.Instance, true
		}
		return nil, false
	}
	return nil, false
}
// This method returns the translation if available
This method returns the translation if available
// This method returns the translation if available
func (VS *Server) mayLookForTranslation(c *gin.Context, id bson.ObjectId) (interface{}, bool) {
	if getLanguage(c) != MainLanguage {
		trans, b := VS.getTranslationByIDInstanceAndLanguage(c, id, "h_functionality", "mayLookForTranslation", "trans, b := VS.getTranslationByIDInstanceAndLanguage")
		if b {
			return trans.Instance, true
		}
		return nil, false
	}
	return nil, false
}
func ( VS * Server ) mayLookForTranslation ( c * gin . Context , id bson . ObjectId ) ( interface { } , bool ) { if getLanguage ( c ) != MainLanguage { trans , b := VS . getTranslationByIDInstanceAndLanguage ( c , id , " " , " " , " " ) if b { return trans . Instance , true } return nil , false } return nil , false }
This method returns the translation if available
This method returns the translation if available