<div dir="ltr">I'd say the answer *is* give them a custom locale.<div><br></div><div>I'd set them to the locale "en-GB-barIsBaz"</div><div><div><br></div><div>And use "Fallbacks": "en-GB-barIsBaz" -> "en-GB" -> "en".</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 May 2015 at 20:20, Andrew Stewart <span dir="ltr"><<a href="mailto:boss@airbladesoftware.com" target="_blank">boss@airbladesoftware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello LRUG!<br>
<br>
I have an ActiveRecord model (Foo) with a field (bar). My locale file looks like:<br>
<br>
en:<br>
activerecord:<br>
attributes:<br>
foo:<br>
bar: Bar<br>
<br>
However one of the people using my Rails app is very keen that the bar field appears as Baz everywhere.<br>
<br>
Is there a good way to provide a custom translation just for this person? I don't want to change their locale, I just want to "override" the translation for bar.<br>
<br>
Many thanks in advance,<br>
<br>
Andrew Stewart<br>
_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
Archives: <a href="http://lists.lrug.org/pipermail/chat-lrug.org" target="_blank">http://lists.lrug.org/pipermail/chat-lrug.org</a><br>
Manage your subscription: <a href="http://lists.lrug.org/options.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/options.cgi/chat-lrug.org</a><br>
List info: <a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
</blockquote></div><br></div>