airbnb / polyglot.js

Give your JavaScript the ability to speak many languages.
http://airbnb.github.io/polyglot.js
BSD 2-Clause "Simplified" License
3.71k stars 208 forks source link

Change interpolation marker #111

Closed no-more closed 6 years ago

no-more commented 6 years ago

Hello,

I would like to know if it's possible to change the interpolation marker ? I ask that because I'm currently using another translator in my frontend which use {{...}} as the marker for interpolation and it could be great to be able to use the same on the server side (I could then share some translation more easily and it will reduce the risk of typing the wrong marker).

Thanks a lot.

ljharb commented 6 years ago

I believe #106 / #64 covers this.