You can work around this, without turning Babel short-hands off globally, by patching an internal configuration macro. Note: this patches an internal macro. I strongly recommend emailing Forest's author with a link to this question as Sašo may have a safer alternative (or be willing to create one). Ideally, this should be part of Forest itself, I think.
Caveat emptor
The problem is that Forest does not invoke tikzpicture until the draw tree stage. By this point, the tree preamble and tree specification has been parsed. So although TikZ switches off the short-hands when the babel library is used, this comes too late for Forest. The trouble is already made.
What we need to do is turn off the short-hands earlier - as early as possible, in fact - in the process. Ideally, we want to do this before stages are defined, which happens even before the tree's preamble is parsed. There is a way to alter what Forest does here by using the optional parenthesised argument, but currently the only available key recognised here is stages and, in any case, anything we pass through in this argument will be executed only after Forest has defined its default stages. This might or might not cause problems now, but it would certainly be safer to turn short-hands off before this is done.
For this reason, I tried patching the macro \forest@config by prepending a copy of the code from tikz.code.tex responsible for switching off short-hands. This ensures that short-hands are off even before Forest defines the default value of stages and well before any local configuration is done, let alone the tree preamble and specification.
To do this, I loaded etoolbox and added
\makeatletter
\pretocmd\forest@config{% from tikz.code.tex
\iftikz@handle@active@code\tikz@switchoff@shorthands\fi}{\typeout{Patched \string\forest@config\ OK.}}{\typeout{Failed to patch \string\forest@config\ - oh, dear.}}
\makeatother
to the preamble.
This patch affects only tree creation. If you are setting forest keys outside a forest environment or similar, using \forestset, then you must do one of three things:
- avoid any problematic characters here;
- define your settings before short-hands are activated by Babel i.e. in your document preamble (OK to do this after loading Babel, I think, so long as it is before
\begin{document};
- switch short-hands off before using
\forestset and on afterwards.
I prefer to keep global settings in the preamble anyway, so I suggest using the second option, which is certainly the most straightforward.
Complete code:
\documentclass[12pt,twoside,a4paper,spanish]{report}
\usepackage[headheight=18pt, width=150mm, top=25mm, bottom=25mm, bindingoffset=6mm, headsep=18pt]{geometry}
\usepackage{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[activate={true,nocompatibility},final,tracking=true,kerning=true,spacing=true,factor=1100,stretch=10,shrink=10]{microtype}
\usepackage[hyphens]{url}
\usepackage{textcomp}
\usepackage{tikz}
\usepackage{forest,etoolbox}
\usetikzlibrary{babel}
\makeatletter
\pretocmd\forest@config{% from tikz.code.tex
\iftikz@handle@active@code\tikz@switchoff@shorthands\fi}{\typeout{Patched \string\forest@config\ OK.}}{\typeout{Failed to patch \string\forest@config\ - oh, dear.}}
\makeatother
\begin{document}
\chapter*{Resume} % * avoids numeration
"c
\begin{forest}
for tree={
rounded corners, draw, align=center, top color=white, bottom color=blue!20,
edge+=->,
l sep'+=10pt,
},
[Solvatación
[Explícito+Implícito
[Solvateshell + Cosmo]
[Packmol + Cosmo]
]
[Implícito
[Cosmo]
]
]
\end{forest}
"c
\end{document}
The "c are to show active short-hands work outside forest, both before and after.

tikzlibrarylabelis not able to fix this. – Zarko Aug 25 '17 at 02:36\usepackage[spanish,es-noquoting]{babel}instead of\usepackage[spanish]{babel}. – Zarko Aug 25 '17 at 02:52l.28 \pagestyle{mystyle}
? `
– cfr Aug 25 '17 at 21:49\pagestyle{mystyle}is not relevant to your question, please remove it from your code here. Always ensure that the exact code you post produces the output shown by testing compilation in a new, clean.texdocument. – cfr Aug 25 '17 at 22:44