Devographics / locale-en-US

34 stars 13 forks source link

README.md may need some updates #41

Open LaurelineP opened 1 week ago

LaurelineP commented 1 week ago

Finding things to translate - query example most likely out of date most

unstranslatedKeys is incorrect, should most likely be untranslatedStrings as graphiql recommends - then an auto completion will be provided on submission for the fields

Current query if failing in Graphiql

// Original README.md example
query GetLocaleData {
  locale(localeId: ru_RU) {
    completion
    totalCount
    translatedCount
    translators
    untranslatedKeys
  }
}

// Proposition
query GetLocaleData {
  locale(localeId: ru_RU) {
    completion
    totalCount
    translatedCount
    translators
    untranslatedStrings 
  }
}

// Proposition autocompleted by GraphiQL-  with untranslatedStrings 
query GetLocaleData {
  locale(localeId: ru_RU) {
    completion
    totalCount
    translatedCount
    translators
    untranslatedStrings {
      key
      t
      tHtml
      tClean
      context
      isFallback
      aliasFor
    }
  }
}

Translation team link broken

Redirects to a 404

image