Multilingual with Pagination issues

I’m trying to make a multilingual blog with hugo.
At first I tried using the data folder and variables on my template but hugo just crashed, i then turned to using a variable on the content page and on the template the output woud change depending on that var just like on the multilingual examples.
My problem is with the blog itself on my current setup I use .Paginator.Pages but I can’t when using different languages I need to have pagination as oposed to have all the posts listed.
Is there any way to pass a variable like lang without breaking the .Paginator?

Ended up using conditions based on the blog url to set the language.