I am building a project that shows a company has 2 different stores. I want the app can click one store and then show the store strings using the same code as another store but shows different content. Or say, just switching the string table between two.
Now I have the directories: lib/l10n
and lib/l10n_2
that contains the same file names, the same key names but different values. I found package intl
can only generated class S but cannot switch the source.
I have tried to modify intl
package and used it locally but it shows forbidden.
Because every version of flutter_localizations from sdk depends on intl from hosted and my_project depends on intl from path, flutter_localizations from sdk is forbidden.
So, because predator_connect depends on flutter_localizations from sdk, version solving failed.
How can I do to the switching string table source?