<div dir="ltr"><div class="gmail_default" style="font-family:times new roman,serif">There is tooling to do that. The workhorse is CLDRFile. You create a file by getting a factory for the file (see CLDRConfig.java), then calling make(yourlocale,true) to get a resolved version. You can then call CLDRFile's write(PrintWriter) to write out to a file. Sorry I don't have more time to go into detail.</div><div class="gmail_default" style="font-family:times new roman,serif"><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font face="'times new roman', serif"><div style="background-color:transparent;margin-top:0px;margin-left:0px;margin-bottom:0px;margin-right:0px"><div></div></div><div style="background-color:transparent;margin-top:0px;margin-left:0px;margin-bottom:0px;margin-right:0px">Mark</div></font><div><div><font face="'times new roman', serif"><i><span style="font-style:normal"><i></i></span><i></i></i></font></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 26, 2020 at 2:39 PM Kip Cole via CLDR-Users <<a href="mailto:cldr-users@unicode.org">cldr-users@unicode.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">My current CLDR-based implementation is based upon the JSON content. This is primarily because I’m not confident implementing the inheritance rules which are quite complex. <br>
<br>
I’d like to move to using the canonical XML data from CLDR-38 and I’m hoping there is a util that will implement the inheritance rules and export a fully merged main/locale.xml file.  <br>
<br>
Any chance such a tool exists?<br>
<br>
Many thanks, —Kip<br>
<br>
<br>
_______________________________________________<br>
CLDR-Users mailing list<br>
<a href="mailto:CLDR-Users@corp.unicode.org" target="_blank">CLDR-Users@corp.unicode.org</a><br>
<a href="https://corp.unicode.org/mailman/listinfo/cldr-users" rel="noreferrer" target="_blank">https://corp.unicode.org/mailman/listinfo/cldr-users</a><br>
</blockquote></div>