Support localization of report names in Community App and Mentioned features should get translated with respect to selected language

This commit is contained in:
satish-conflux 2016-06-09 18:14:53 +05:30
parent 769c52906c
commit 9fd89697c4
11 changed files with 227 additions and 38 deletions

View File

@ -3936,5 +3936,91 @@
"label.heading.escheatLiability":"Escheat Liability",
"label.input.escheatLiability":"Escheat Liability",
"label.tooltip.escheatLiability":"Liability Account where escheated funds are maintained",
"label.heading.lastActive":"Last Active"
"label.heading.lastActive":"Last Active",
"#Report Name localization" : "",
"Loan Transaction Receipt":"Loan Transaction Receipt",
"Savings Transaction Receipt":"Savings Transaction Receipt",
"Staff Assignment History":"Staff Assignment History",
"Balance Sheet":"Balance Sheet",
"GeneralLedgerReport":"GeneralLedgerReport",
"Income Statement":"Income Statement",
"Progress Report":"Progress Report",
"Trial Balance":"Trial Balance",
"BranchOverView":"BranchOverView",
"Client Listing":"Client Listing",
"Client Listing(Pentaho)":"Client Listing(Pentaho)",
"Client Loans Listing":"Client Loans Listing",
"Client Loans Listing(Pentaho)":"Client Loans Listing(Pentaho)",
"Funds Disbursed Between Dates Summary":"Funds Disbursed Between Dates Summary",
"Funds Disbursed Between Dates Summary by Office":"Funds Disbursed Between Dates Summary by Office",
"Funds Disbursed Between Dates Summary by Office(Pentaho)":"Funds Disbursed Between Dates Summary by Office(Pentaho)",
"Funds Disbursed Between Dates Summary(Pentaho)":"Funds Disbursed Between Dates Summary(Pentaho)",
"Active Loans - Details":"Active Loans - Details",
"Active Loans - Details(Pentaho)":"Active Loans - Details(Pentaho)",
"Active Loans - Summary":"Active Loans - Summary",
"Active Loans - Summary(Pentaho)":"Active Loans - Summary(Pentaho)",
"Active Loans by Disbursal Period":"Active Loans by Disbursal Period",
"Active Loans by Disbursal Period(Pentaho)":"Active Loans by Disbursal Period(Pentaho)",
"Active Loans in last installment":"Active Loans in last installment",
"Active Loans in last installment Summary":"Active Loans in last installment Summary",
"Active Loans in last installment Summary(Pentaho)":"Active Loans in last installment Summary(Pentaho)",
"Active Loans in last installment(Pentaho)":"Active Loans in last installment(Pentaho)",
"Active Loans Passed Final Maturity":"Active Loans Passed Final Maturity",
"Active Loans Passed Final Maturity Summary":"Active Loans Passed Final Maturity Summary",
"Active Loans Passed Final Maturity Summary(Pentaho)":"Active Loans Passed Final Maturity Summary(Pentaho)",
"Active Loans Passed Final Maturity(Pentaho)":"Active Loans Passed Final Maturity(Pentaho)",
"Aging Detail":"Aging Detail",
"Aging Detail(Pentaho)":"Aging Detail(Pentaho)",
"Aging Summary (Arrears in Months)":"Aging Summary (Arrears in Months)",
"Aging Summary (Arrears in Months)(Pentaho)":"Aging Summary (Arrears in Months)(Pentaho)",
"Aging Summary (Arrears in Weeks)":"Aging Summary (Arrears in Weeks)",
"Aging Summary (Arrears in Weeks)(Pentaho)":"Aging Summary (Arrears in Weeks)(Pentaho)",
"Branch Expected Cash Flow":"Branch Expected Cash Flow",
"Branchwise Loan Summary":"Branchwise Loan Summary",
"Daily Loan Officer Wise Loan Summary":"Daily Loan Officer Wise Loan Summary",
"Expected Payments By Date - Basic":"Expected Payments By Date - Basic",
"Expected Payments By Date - Basic(Pentaho)":"Expected Payments By Date - Basic(Pentaho)",
"Expected Payments By Date - Formatted":"Expected Payments By Date - Formatted",
"Loan Aging Report By Periods":"Loan Aging Report By Periods",
"LoanPortfolio":"LoanPortfolio",
"Loans Awaiting Disbursal":"Loans Awaiting Disbursal",
"Loans Awaiting Disbursal Summary":"Loans Awaiting Disbursal Summary",
"Loans Awaiting Disbursal Summary by Month":"Loans Awaiting Disbursal Summary by Month",
"Loans Awaiting Disbursal Summary by Month(Pentaho)":"Loans Awaiting Disbursal Summary by Month(Pentaho)",
"Loans Awaiting Disbursal Summary(Pentaho)":"Loans Awaiting Disbursal Summary(Pentaho)",
"Loans Awaiting Disbursal(Pentaho)":"Loans Awaiting Disbursal(Pentaho)",
"Loans Pending Approval":"Loans Pending Approval",
"Loans Pending Approval(Pentaho)":"Loans Pending Approval(Pentaho)",
"Obligation Met Loans Details":"Obligation Met Loans Details",
"Obligation Met Loans Details(Pentaho)":"Obligation Met Loans Details(Pentaho)",
"Obligation Met Loans Summary":"Obligation Met Loans Summary",
"Obligation Met Loans Summary(Pentaho)":"Obligation Met Loans Summary(Pentaho)",
"Portfolio at Risk":"Portfolio at Risk",
"Portfolio at Risk by Branch":"Portfolio at Risk by Branch",
"Portfolio at Risk by Branch(Pentaho)":"Portfolio at Risk by Branch(Pentaho)",
"Portfolio at Risk(Pentaho)":"Portfolio at Risk(Pentaho)",
"Rescheduled Loans":"Rescheduled Loans",
"Rescheduled Loans(Pentaho)":"Rescheduled Loans(Pentaho)",
"Written-Off Loans":"Written-Off Loans",
"Written-Off Loans(Pentaho)":"Written-Off Loans(Pentaho)",
"Active Loan Summary per Branch":"Active Loan Summary per Branch",
"Balance Outstanding":"Balance Outstanding",
"Collection Report":"Collection Report",
"Disbursal Report":"Disbursal Report",
"Client Savings Summary":"Client Savings Summary",
"Savings Transactions":"Savings Transactions",
"TxnRunningBalances(Pentaho)":"TxnRunningBalances(Pentaho)",
"day.monday" : "Monday",
"day.tuesday" : "Tuesday",
"day.wednesday" : "Wednesday",
"day.thursday" : "Thursday",
"day.friday" : "Friday",
"day.saturday" : "Saturday",
"day.sunday" : "Sunday",
"RepaymentRescheduleType.same.day":"same day",
"RepaymentRescheduleType.move.to.next.working.day":"move to next working day",
"RepaymentRescheduleType.move.to.next.repayment.meeting.day":"move to next repayment meeting day",
"RepaymentRescheduleType.move.to.previous.working.day":"move to previous working day"
}

View File

@ -3437,5 +3437,90 @@
"label.heading.Survey": "Encuesta",
"label.anchor.survey": "Encuesta",
"label.surveyName": "Nombre de la encuesta",
"label.selectsurvey": "Selecciona una encuesta"
"label.selectsurvey": "Selecciona una encuesta",
"#Nombre del informe de localización" : "",
"aged receivables" : "Cobrar edad",
"Client statement" : "La declaración de cliente",
"ClientSummary " : "ClientSummary",
"demoreport3" : "Demoreport3",
"GroupOffice" : "GroupOffice",
"Loan Transaction Receipt" : "Recibo de Transacción de Préstamo",
"Savings Transaction Receipt" : "Recibo de Transacción de Ahorro",
"Savings Transactions" : "Las transacciones de ahorro",
"Staff Assignment History" : "La historia de asignación de personal",
"test sql" : "Sql prueba",
"Testing new reort" : "El ensayo de nuevos Reort",
"Balance Sheet" : "Hoja de balance",
"GeneralLedgerReport" : "GeneralLedgerReport",
"Income Statement" : "Cuenta de resultados",
"List CoA" : "Lista CoA",
"Trail balance by currency" : "Equilibrio Trail por moneda",
"Trial Balance" : "Balance de comprobación",
"Client Listing" : "Listado de cliente",
"Client Listing(Pentaho)" : "Lista de clientes (Pentaho)",
"Client Loans Listing" : "Préstamos de venta del cliente",
"Client Loans Listing(Pentaho)" : "Préstamos lista de clientes (Pentaho)",
"demoreport4" : "Demoreport4",
"Funds Disbursed Between Dates Summary" : "Los fondos desembolsados entre fechas Resumen",
"Funds Disbursed Between Dates Summary by Office" : "Los fondos desembolsados entre fechas Resumen de la Oficina",
"Funds Disbursed Between Dates Summary by Office(Pentaho)" : "Los fondos desembolsados entre fechas Resumen de la Oficina (Pentaho)",
"Funds Disbursed Between Dates Summary(Pentaho)" : "Los fondos desembolsados entre fechas Resumen (Pentaho)",
"Active Loans - Details" : "Préstamos activos - detalles",
"Active Loans - Details(Pentaho)" : "Préstamos Activos - Detalles (Pentaho)",
"Active Loans - Summary" : "Préstamos activos - Resumen",
"Active Loans - Summary(Pentaho)" : "Préstamos activos - Resumen (Pentaho)",
"Active Loans by Disbursal Period" : "Préstamos activos por período de desembolso",
"Active Loans by Disbursal Period(Pentaho)" : "Préstamos activos por desembolso Período (Pentaho)",
"Active Loans in last installment" : "Préstamos activos en la última entrega",
"Active Loans in last installment Summary" : "Préstamos activos en la última entrega Resumen",
"Active Loans in last installment Summary(Pentaho)" : "Préstamos activos en la última Resumen tramo (Pentaho)",
"Active Loans in last installment(Pentaho)" : "Préstamos activos en la última entrega (Pentaho)",
"Active Loans Passed Final Maturity" : "Préstamos activo transferido a la Fecha de Vencimiento",
"Active Loans Passed Final Maturity Summary" : "Préstamos activo transferido a la final Resumen de madurez",
"Active Loans Passed Final Maturity Summary(Pentaho)" : "Préstamos activo transferido Resumen de Vencimiento Final (Pentaho)",
"Active Loans Passed Final Maturity(Pentaho)" : "Préstamos activo transferido a la Fecha de Vencimiento (Pentaho)",
"Aging Detail" : "El envejecimiento Detalle",
"Aging Detail(Pentaho)" : "El envejecimiento Detalle (Pentaho)",
"Aging Summary (Arrears in Months)" : "El envejecimiento (atrasos en meses)",
"Aging Summary (Arrears in Months)(Pentaho)" : "El envejecimiento (atrasos en meses) (Pentaho)",
"Aging Summary (Arrears in Weeks)" : "El envejecimiento (atrasos en semanas)",
"Aging Summary (Arrears in Weeks)(Pentaho)" : "El envejecimiento (atrasos en semanas) (Pentaho)",
"Branch Expected Cash Flow" : "Rama espera que el flujo de efectivo",
"Demand_Vs_Collection" : "Demand_Vs_Collection",
"Expected Payments By Date - Basic" : "Los pagos por Lanzamiento - Básico",
"Expected Payments By Date - Basic(Pentaho)" : "Los pagos por Lanzamiento - Básico (Pentaho)",
"Expected Payments By Date - Formatted" : "Los pagos por Lanzamiento - con formato",
"Loan Account Schedule" : "Préstamo Cuenta Lista",
"Loans Awaiting Disbursal" : "En espera de desembolso Préstamos",
"Loans Awaiting Disbursal Summary" : "Hasta el momento no Préstamos desembolso Resumen",
"Loans Awaiting Disbursal Summary by Month" : "En espera de desembolso Préstamos Resumen por mes",
"Loans Awaiting Disbursal Summary by Month(Pentaho)" : "Hasta el momento no Préstamos desembolso Resumen por Mes (Pentaho)",
"Loans Awaiting Disbursal Summary(Pentaho)" : "Hasta el momento no Préstamos Resumen desembolso (Pentaho)",
"Loans Awaiting Disbursal(Pentaho)" : "En espera de desembolso Préstamos (Pentaho)",
"Loans Pending Approval" : "Aprobación Préstamos pendiente",
"Loans Pending Approval(Pentaho)" : "Los préstamos pendiente de aprobación (Pentaho)",
"Obligation Met Loans Details" : "Obligación Met Préstamos detalles",
"Obligation Met Loans Details(Pentaho)" : "Obligación Met Préstamos detalles (Pentaho)",
"Obligation Met Loans Summary" : "Obligación Met Préstamos Resumen",
"Obligation Met Loans Summary(Pentaho)" : "Obligación Met Préstamos de sumario (Pentaho)",
"Portfolio at Risk" : "Cartera en Riesgo",
"Portfolio at Risk by Branch" : "La cartera en riesgo por sucursal",
"Portfolio at Risk by Branch(Pentaho)" : "La cartera en riesgo por sucursal (Pentaho)",
"Portfolio at Risk(Pentaho)" : "Cartera en Riesgo (Pentaho)",
"Rescheduled Loans" : "préstamos reprogramados",
"Rescheduled Loans(Pentaho)" : "préstamos reprogramados (Pentaho)",
"Written-Off Loans" : "Los préstamos dados de baja",
"Written-Off Loans(Pentaho)" : "créditos castigados (Pentaho)",
"Active Loan Summary per Branch" : "Préstamo Resumen activa por rama",
"Balance Outstanding" : "Saldo pendiente",
"Client Loan Account Schedule" : "Cliente Préstamo Cuenta Lista",
"Collection Report" : "Colección de informes",
"Collection Report by Disbursement Date" : "Colección de informes por Fecha de Desembolso",
"Disbursal Report" : "Informe desembolso",
"Client Savings Summary" : "Resumen ahorros de los clientes",
"FieldAgentStats" : "FieldAgentStats",
"Client Saving Transactions" : "Las transacciones de ahorro de cliente",
"Savings Accounts Dormancy Report" : "Informe de Ahorros Cuentas de latencia",
"TxnRunningBalances(Pentaho)" : "TxnRunningBalances (Pentaho)"
}

View File

@ -2129,5 +2129,6 @@
"label.selectsurvey": "选择调查",
"label.heading.escheatLiability": "归还财产责任",
"label.input.escheatLiability": "归还财产责任",
"label.heading.lastActive": "最近活跃"
"label.heading.lastActive": "最近活跃",
"Client Savings Summary":"客戶節約摘要"
}

View File

@ -4,13 +4,13 @@
scope.workingDays = [];
scope.selectedRepaymentType = "";
scope.compareWith = [
{name: "MO", value: "Monday"},
{name: "TU", value: "Tuesday"},
{name: "WE", value: "Wednesday"},
{name: "TH", value: "Thursday"},
{name: "FR", value: "Friday"},
{name: "SA", value: "Saturday"},
{name: "SU", value: "Sunday"}
{name: "MO", value: "Monday", code: "day.monday"},
{name: "TU", value: "Tuesday", code: "day.tuesday"},
{name: "WE", value: "Wednesday", code: "day.wednesday"},
{name: "TH", value: "Thursday", code: "day.thursday"},
{name: "FR", value: "Friday", code: "day.friday"},
{name: "SA", value: "Saturday", code: "day.saturday"},
{name: "SU", value: "Sunday", code: "day.sunday"}
];
resourceFactory.workingDaysResource.get(function(data){
@ -28,12 +28,14 @@
if(days.indexOf(scope.compareWith[i].name.toString()) > -1){
scope.workingDays.push({
day : scope.compareWith[i].value,
code : scope.compareWith[i].code,
value : true
});
}
else{
scope.workingDays.push({
day : scope.compareWith[i].value,
code : scope.compareWith[i].code,
value : false
});
}

View File

@ -17,6 +17,19 @@
}
scope.filterText = scope.searchCriteria.reports;
scope.addLocaleReportName = function (){
if(document.getElementsByName("locale_name") != undefined && scope.reports){
if(scope.reports[0].report_locale_name == undefined){
var result = document.getElementsByName("locale_name");
for(var i=0; i<result.length; i++) {
scope.reports[i].report_locale_name = result[i].value;
}
//console.log(JSON.stringify(scope.reports));
}
scope.onFilter();
}
};
scope.onFilter = function () {
scope.searchCriteria.reports = scope.filterText;
scope.saveSC();

View File

@ -14,9 +14,9 @@
<label class="control-label col-sm-2 " for="type">{{'label.input.accounttype' | translate}}
</label>
<div class="col-sm-2">
<select id="type" ng-model="formData.type"
ng-options="accountType.id as accountType.value for accountType in accountTypes"
value="{{accountType.id}}" class="form-control"/>
<select id="type" ng-model="formData.type" class="form-control">
<option ng-repeat="accountType in accountTypes" value="{{accountType.id}}">{{''+accountType.code+'' | translate}}</option>
</select>
</div>
<label class="control-label col-sm-4" for="parentId">{{'label.input.parent' | translate}}</label>
<div class="col-sm-2">
@ -51,9 +51,9 @@
<label class="control-label col-sm-2 " for="usage">{{'label.input.accountusage' | translate}}</label>
<div class="col-sm-2">
<select id="usage" ng-model="formData.usage" class="form-control"
ng-options="usageType.id as usageType.value for usageType in usageTypes"
value="{{usageType.id}}"></select>
<select id="usage" ng-model="formData.usage" class="form-control">
<option ng-repeat="usageType in usageTypes" value="{{usageType.id}}">{{''+usageType.code+'' | translate}}</option>
</select>
</div>
<label class="control-label col-sm-4 " for="tagId">{{'label.input.tag' | translate}}</label>
<div class="col-sm-2">

View File

@ -15,9 +15,9 @@
<label class="control-label col-sm-2 " for="type">{{'label.input.accounttype' | translate}}
</label>
<div class="col-sm-2">
<select id="type" ng-model="formData.type"
ng-options="accountType.id as accountType.value for accountType in accountTypes"
value="{{accountType.id}}" class="form-control"/>
<select id="type" ng-model="formData.type" class="form-control">
<option ng-repeat="accountType in accountTypes" value="{{accountType.id}}">{{''+accountType.code+'' | translate}}</option>
</select>
</div>
<label class="control-label col-sm-4" for="parentId">{{'label.input.parent' | translate}}</label>
<div class="col-sm-2">
@ -52,9 +52,9 @@
<label class="control-label col-sm-2 " for="usage">{{'label.input.accountusage' | translate}}</label>
<div class="col-sm-2">
<select id="usage" ng-model="formData.usage" class="form-control"
ng-options="usageType.id as usageType.value for usageType in usageTypes"
value="{{usageType.id}}"></select>
<select id="usage" ng-model="formData.usage" class="form-control">
<option ng-repeat="usageType in usageTypes" value="{{usageType.id}}">{{''+usageType.code+'' | translate}}</option>
</select>
</div>
<label class="control-label col-sm-4 " for="tagId">{{'label.input.tag' | translate}}</label>
<div class="col-sm-2">

View File

@ -42,7 +42,7 @@
</tr>
<tr>
<td>{{ 'label.heading.acctype' | translate }}</td>
<td>{{glaccount.type.value}}</td>
<td>{{glaccount.type.code | translate}}</td>
</tr>
<tr data-ng-show="glaccount.parentName">
<td>{{ 'label.heading.parentaccountname' | translate }}</td>
@ -54,7 +54,7 @@
</tr>
<tr>
<td>{{ 'label.heading.accountusage' | translate }}</td>
<td>{{glaccount.usage.value}}</td>
<td>{{glaccount.usage.code | translate}}</td>
</tr>
<tr>

View File

@ -13,7 +13,7 @@
<input class="control-label" id="workingDay.value" type="checkbox" value="workingDay.value" ng-model="workingDay.value">
<label>{{workingDay.day}}</label>
<label>{{''+workingDay.code+'' | translate}}</label>
<br/>
</div>
@ -21,9 +21,8 @@
<div class="form-group">
<label class="control-label col-sm-2 width20" >{{ 'label.input.paymentsDueOnHolidays' | translate }}</label>
<div class="col-sm-3">
<select chosen="repaymentRescheduleOptions" id="repaymentReschedule" ng-model="selectedRepaymentType"
ng-init="selectedRepaymentType" ng-options="repaymentRescheduleType.id as repaymentRescheduleType.value for repaymentRescheduleType in repaymentRescheduleOptions"
class="form-control" value="{{repaymentRescheduleType.id}}">
<select id="repaymentReschedule" ng-model="selectedRepaymentType" class="form-control">
<option ng-repeat="repaymentRescheduleType in repaymentRescheduleOptions" value="{{repaymentRescheduleType.id}}">{{''+repaymentRescheduleType.code+'' | translate}}</option>
</select>
</div>
</div>

View File

@ -7,7 +7,7 @@
<api-validate></api-validate>
<div class="span gray-head" style="margin-left:0%;height:30px;">
<span style="margin-left: 10px;font-size:20px;">
<strong>{{reportName}}</strong>
<strong>{{''+reportName+'' | translate}}</strong>
<button type="button" class="btn btn-primary pull-right" ng-show="checkStatus()"
ng-click="isCollapsed=!isCollapsed"><i class="icon-chevron-down icon-white"></i>{{
'label.button.parameters' | translate }}
@ -22,7 +22,7 @@
</div>
<div ng-hide="isCollapsed" class="alert-block form-horizontal">
<br>
<div class="form-group info" ng-repeat="reportParam in reportParams">
<label class="control-label col-sm-2" for="{{reportParam.variable}}">{{ reportParam.label | translate}}</label>
@ -38,7 +38,7 @@
<div class="form-group info" ng-repeat="reportTextParam in reportTextParams">
<label class="control-label col-sm-2" for="{{reportTextParam.variable}}">{{ reportTextParam.label |
translate}}</label>
<div class="col-sm-3">
<input style="width: 257px" id="{{reportTextParam.inputName}}" type="text" ng-model="formData[reportTextParam.inputName]" class="form-control" required late-Validate/>
</div>
@ -46,7 +46,7 @@
<div class="form-group info" ng-repeat="reportDateParam in reportDateParams">
<label class="control-label col-sm-2" for="{{reportDateParam.variable}}">{{ reportDateParam.label |
translate}}</label>
<div class="col-sm-3">
<input style="width: 257px" id="{{reportDateParam.inputName}}" type="text" datepicker-pop="yyyy-MM-dd"
ng-model="formData[reportDateParam.inputName]" is-open="'opened'+$index" min="minDate"
@ -55,7 +55,7 @@
</div>
<div class="form-group info" ng-show="reportType == 'Pentaho'">
<label class="control-label col-sm-2" for="outputType">{{ 'label.input.outputtype' | translate }}</label>
<div class="col-sm-3">
<select class="form-control input-xlarge" ng-model="formData.outputType">
<option value="HTML">{{ 'label.input.showreport' | translate }}</option>
@ -68,7 +68,7 @@
</div>
<div class="form-group info">
<label class="control-label col-sm-2" for="decimalsChoice">{{ 'label.input.decimalplace' | translate }}</label>
<div class="col-sm-3">
<div class="col-sm-3">
<select id="decimalsChoice" class="form-control input-xlarge" ng-model="decimalsChoice">
<option value="">{{ 'label.input.no.decimalplaces' | translate }}</option>
<option value="4">4</option>
@ -79,7 +79,7 @@
</select>
</div>
</div>
<span class="col-md-offset-3 paddedleft120"><a id="run" ng-click="runReport()" class="btn btn-primary control"></i>
&nbsp;&nbsp;{{ 'label.button.runreport' | translate }}</a></span>
</div>
@ -129,7 +129,7 @@
</div>
</div>
</div>
<div data-ng-hide="hideTable">
<div class="pull-right" ng-show="reportType == 'Table'">
<button type="button" class="btn btn-primary" ng-csv="csvData"><i class="icon-file icon-white"></i>{{'label.button.exportcsv'

View File

@ -4,7 +4,7 @@
</ul>
<div>
<br>
<input ng-model="filterText" type="text" ng-keyup="onFilter()" class="span marginbottom0px form-control" placeholder="{{ 'label.input.filterbyname' | translate }}">
<input ng-model="filterText" type="text" ng-keyup="addLocaleReportName();" class="span marginbottom0px form-control" placeholder="{{ 'label.input.filterbyname' | translate }}">
<table class="table">
<thead>
<tr class="graybg">
@ -15,11 +15,14 @@
</thead>
<tbody>
<tr class="pointer-main" ng-repeat="report in reports| orderBy:'report_name':reverse | filter:filterText">
<td class="pointer" data-ng-click="routeTo(report)">{{report.report_name}}</td>
<td class="pointer" data-ng-click="routeTo(report)">{{''+report.report_name+'' | translate}}</td>
<td class="pointer" data-ng-click="routeTo(report)">{{report.report_type}}</td>
<td class="pointer" data-ng-click="routeTo(report)">{{report.report_category}}</td>
</tr>
</tbody>
</table>
<div ng-hide="true" ng-repeat="report in reports">
<input type="hidden" id="locale_name_{{$index}}" name="locale_name" ng-model="report.report_locale_name" value="{{report.report_name | translate}}" />
</div>
</div>
</div>