\usepackage[turkish]{babel} and \includegraphics inconcistency

I believed that this problem had been solved, but it seems not.

Since you can input directly Turkish specific characters as Unicode, you should not need the = shortcuts; so

\begin{document}
\shorthandoff{=}

will cure the problem. In case you really need the shortcuts with =, the unique way seems to be to say

\shorthandoff{=}

before all \includegraphics commands and \shorthandon{=} again after them.


Please check the answers on this question: \newgeometry doesn't work with Turkish babel package. One answer by @karlkoeller gives an automatic way of switching the shorthand off before \includegraphics then on again after it.