GithubHelp home page GithubHelp logo

mattiebelt / strapi-plugin-international-fields Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 2.0 489 KB

Strapi plugin that adds international fields with i18n support.

License: MIT License

JavaScript 100.00%

strapi-plugin-international-fields's People

Contributors

dependabot[bot] avatar mattiebelt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

kkomelin paulmaly

strapi-plugin-international-fields's Issues

Get request with populate and locale in URL

Hello everyone , can someone help me with Internalization plug-in I have an issue i cannot find the solution with the documentation :

I would like to do a get request with populate & locale a the same time in the same url but impossible to find the right syntax :

https://admin.flamingophuket.com/api/place-categories?populate[place_subcategories][populate][1]=places This is working ✅

https://admin.flamingophuket.com/api/places?locale=ru this is working ✅

https://admin.flamingophuket.com/api/place-categories?populate[place_subcategories][populate][1]=places&locale=ru This is not working ❌

Does someone can help me that would be awsome

[Postgres Error] "country" string null - type "string" does not exist

Bug Report

When creating a new project, the changing the database to postgres using strapi-connector-bookshelf and add country field, it won't be migrated because of this : error error: create table "components_supplier_ship_tos" ("id" serial primary key, "country" string null) - type "string" does not exist

Steps to reproduce

  1. Create a new project
  2. Change database to postgres
  3. Create a content type with country field, in my case it was a repeatble component
  4. Launch and boom

Code Snippet

{ "collectionName": "components_supplier_ship_tos", "info": { "name": "ShipTo", "icon": "ship" }, "options": {}, "attributes": { "country": { "type": "country", "columnType": "String" // tried with lower case string and String, same error } } }

System

  • Node v14.15
  • NPM v6.14.8
  • knex ^0.95.11
  • pg ^8.7.1
  • strapi 3.6.8
  • strapi-connector-bookshelf ^3.6.8

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.