Project file (.rigproj)
The solution for the demo application in this manual has one project file (extension .rigproj). That file has the following content:
<?xml version="1.0" encoding="utf-8"?>
<project name="piwik" guid="piwik" relbasepath="..\files">
<parsersettings />
<targetrules>
<targetrule id="tr">$(sourceFilePath)\$(targetLocale)$(sourceFileExt)</targetrule>
</targetrules>
<mappings />
<resources>
<file relpath="lang\en.json" guid="Core" parser="json" targetrule="tr" />
<file relpath="plugins\en.json" guid="Actions" parser="json" targetrule="tr" />
...
<file relpath="Measurable\en.json" guid="meas" parser="json" targetrule="tr" />
<file relpath="Widgets\en.json" guid="widgets" parser="json" targetrule="tr" />
</resources>
</project>
Element |
Description |
project |
Root element. That element has the following attributes:
|
parsersettings |
See Parser settings. |
targetrules |
The targetrules element contains targetrule elements. The targetrule element specifies the target rule, see also Enter target rules. The targetrule element has the following attributes:
|
mappings |
|
resources |
The resources element contains file elements. The file element has the following attributes:
|