Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
1 answer
2k views

How to use i18n translations as a key for an object

I am working in react js . I need to dynamically use translation values as a key for an object . How can I do that. Below show the way I tried , but I am sure this is not the right way. Can anyone ...
Happy bean's user avatar
0 votes
1 answer
440 views

angular i18next::backendConnector loaded correctly, but translations not available in controller

I init i18next: if (window.i18next) { window.i18next.use(window.i18nextXHRBackend) ; window.i18next.use(window.i18nextSprintfPostProcessor); window.i18next.init({ debug: true, ...
Nevos's user avatar
  • 3
0 votes
1 answer
2k views

i18next always returning missing key

Every time I try to translate I get i18next::translator: missingKey es-AR This is my pug component.pug .headersGroup h2(ng-i18next="{{$ctrl.getFilterTitle()}}") h3(ng-...
NoHoney_k1ll's user avatar
0 votes
1 answer
753 views

How can I remove the translation key from en.json?

I do not want to use the translation key in the json file. I want the file to have only 2 levels, I mean I do not want to include the translation key on every locale file: { "translation": { "...
Juan Pablo Fernandez's user avatar
2 votes
1 answer
2k views

i18next - strings don't update when the language is changed

I am integrating the i18next library with my Angular 1.5.3 project. https://github.com/i18next/ng-i18next When I use the changeLanguage feature the strings on my page don't update to the correct ...
user1261710's user avatar
  • 2,639
-1 votes
1 answer
183 views

Does i18next work on cordova?

I am making an app with Angular 1.5.3 and I know that the i18next library works with Angular. https://www.i18next.com/supported-frameworks.html However, does this still apply if my angular app will ...
user1261710's user avatar
  • 2,639
0 votes
1 answer
554 views

missing key i18next message but it's working

I keep getting this message i18next::translator: missingKey es-AR translation El campo Ciudad es obligatorio. El campo Ciudad es obligatorio. am-trips-my-trips.module.js:5 i18next::translator: ...
Pepper 92's user avatar
  • 211
1 vote
1 answer
232 views

ng-i18next translating a string placeholder

I'm trying to translate a placeholder but the thing with this placeholder is that expects a string. placeholder="'Fecha de salida'" So when I try this ng-i18next="[placeholder]new-trip-modal....
Pepper 92's user avatar
  • 211
0 votes
1 answer
841 views

How to use i18n on angularjs 1.6

How I should use i18n so the variable "title" takes the value from the traslatated json. It should return "Mis viajes" and right now it is not returning anything. Thanks trips-header.jade I did ...
Pepper 92's user avatar
  • 211
1 vote
1 answer
1k views

AngularJS + i18n localization loading JSON from another server

We are using angular 1.2.16 and i18next 0.2.6 for development. In our application localization works fine when JSON from same server. Now we came across with the new requirement, to load resources ...
user3249448's user avatar
  • 1,419
2 votes
1 answer
2k views

How to use i18next to translate with Anuglar plugin?

I'm using i18next with the plugin https://github.com/i18next/ng-i18next. with the angular directive, it's supposed to display "test" and "this is a test" on the page. But it shows "home.title" and "...
vincentf's user avatar
  • 1,499
0 votes
1 answer
606 views

Angular i18next empty translation?

Is it possible to set up Angular's i18next provider so that it wouldn't show any value when the value for the key is not defined. The problem is that if for instance for the key my:keyI don't have ...
Łukasz Rzeszotarski's user avatar
2 votes
1 answer
5k views

How can I convert a i18next localized string to UpperCase

I am working on a UI project using Groovy on Grails and AngularJS. For localization/internationalization we are using ng-i18next. Here I have a requirement to display the localized text in uppercase....
Manish Kumar's user avatar
0 votes
2 answers
4k views

How to iterate through an internationalised JSON array using i18next and Angular

I have a series of json internationalization files with basic strings, arrays of strings and arrays of json objects, and I've been trying to display in angular them using various i18n libraries. The ...
mccarthyj's user avatar
  • 949
1 vote
1 answer
810 views

using `i18next.t` from inside my angular controller?

I'm using the library i18ng from https://github.com/mikefrey/i18ng I need to access the translation function from within a controller though, I can't seem to figure out how this is exposed. I see ...
chovy's user avatar
  • 75.9k

15 30 50 per page