Cross-lingual transfer can significantly boost code generation accuracy for niche languages, with some studies showing improvements of 10-30% or more in metrics like exact match or BLEU scores compared to monolingual baselines. For smaller models, fine-tuning is often best, while larger models benefit more from in-context learning.