Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Feature Localization, Add Facade & Rebuild Assets #114

Closed

Conversation

adereksisusanto
Copy link
Contributor

@adereksisusanto adereksisusanto commented May 9, 2024

Add Feature Localization

1. language default (en)

Language EN

2. language (id)

Language ID

3. language (ar)

Language AR

4. language (other: coming soon...)

Add Facade

use Outhebox\TranslationsUI\Facades\TranslationsUI;

TranslationsUI::getTranslations(string $locale);
TranslationsUI::getLocales();
TranslationsUI::download();
TranslationsUI::export(bool $download = false);
TranslationsUI::getDomain();
TranslationsUI::setDomain(string $domain);
TranslationsUI::getPath();
TranslationsUI::setPath(string $path);
TranslationsUI::getLocale();
TranslationsUI::setLocale(string $locale);
TranslationsUI::getFallback();
TranslationsUI::getMiddleware();
TranslationsUI::setMiddleware(array $middleware);
TranslationsUI::getConnection();
TranslationsUI::setConnection(string $connection);
TranslationsUI::getIncludeFileInKey();
TranslationsUI::setIncludeFileInKey(bool $bool);
TranslationsUI::getSourceLanguage();
TranslationsUI::setSourceLanguage(string $locale);
TranslationsUI::getExcludeFiles();
TranslationsUI::setExcludeFiles(array $files);

Rebuild Assets

@adereksisusanto adereksisusanto deleted the feature/localization branch May 13, 2024 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant