You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was revising our translation pipeline and ran into an issue—the large number of cities in our database.
City names are currently translatable fields (New York, Nova Iorque) and these translatable model fields are synchronized with the locale PO files from time to time. With that many cities, this synchronization process takes very long.
That made me wonder, do we even need all these cities? Most will never have any media associated with them. It's just bloat to the database, making location queries slower.
We have all the Brazilian cities in the database for the metadata to be filled without mistakes. That works, but perhaps there's a better way?
There are probably libraries that provide this information. The metadata form can fetch this information dynamically and autocomplete. I'll compile the options here to see which might work best for our use case.
I was revising our translation pipeline and ran into an issue—the large number of cities in our database.
City names are currently translatable fields (New York, Nova Iorque) and these translatable model fields are synchronized with the locale PO files from time to time. With that many cities, this synchronization process takes very long.
That made me wonder, do we even need all these cities? Most will never have any media associated with them. It's just bloat to the database, making location queries slower.
We have all the Brazilian cities in the database for the metadata to be filled without mistakes. That works, but perhaps there's a better way?
There are probably libraries that provide this information. The metadata form can fetch this information dynamically and autocomplete. I'll compile the options here to see which might work best for our use case.
Meanwhile, I'll just disable translations for cities, for now.
The text was updated successfully, but these errors were encountered: