Download the PHP package nativemind/wp-translation without Composer

On this page you can find all versions of the php package nativemind/wp-translation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package wp-translation

NativeLang WordPress Plugin

Empowering Multilingual WordPress Sites with Advanced Translation Capabilities

NativeLang is a comprehensive WordPress plugin designed to significantly enhance your website's multilingual capabilities. Built as an advanced extension for the popular Polylang plugin, NativeLang adds powerful translation features, intelligent caching, and seamless multisite support that make it easier than ever to manage and deliver content in multiple languages.

๐Ÿš€ Key Features

Core Translation Features

User Interface & Experience

Advanced Features

Administrative Tools

๐Ÿ“ฆ Architecture Overview

NativeLang follows a modular architecture designed for performance, maintainability, and extensibility:

Core Components

Integration Points

๐Ÿ› ๏ธ Installation & Setup

Prerequisites

Installation Methods

Via Composer (Recommended)

Manual Installation

  1. Download Plugin Files:

  2. Configure Polylang:

    • Install and activate Polylang
    • Set up your languages in Polylang settings
    • Configure default language
  3. Activate NativeLang:

    • Go to WordPress Admin โ†’ Plugins
    • Activate "NativeMind Plugin"
  4. Configure API Key:

    Option 1: Environment Variable (Recommended)

    Option 2: Copy Template File

  5. Multisite Setup (Optional):

๐ŸŽฏ Usage Guide

Basic Usage

Language Switcher

Add language switcher anywhere using:

Shortcode:

PHP Function:

Widget:

Menu Translation

Advanced Configuration

Custom Translation Mappings

Cache Management

Multisite Domain Mapping

๐Ÿ”ง Developer API

Hooks and Filters

Actions

Filters

Custom Functions

Translation Quality Check

Browser Language Detection

Custom Flag Emojis

๐Ÿงช Testing

Test Suite

Run the comprehensive test suite:

Manual Testing Checklist

๐Ÿ“Š Performance & Optimization

Caching Strategy

Performance Tips

  1. API Key Management: Use environment variables for API keys
  2. Cache Tuning: Adjust cache expiration based on content update frequency
  3. Selective Translation: Don't translate administrative content
  4. CDN Integration: Serve static assets via CDN for better performance

๐Ÿ›ก๏ธ Security Considerations

Data Protection

Best Practices

๐Ÿ› Troubleshooting

Common Issues

"Polylang not found" Error

Solution: Install and activate Polylang plugin first.

Translations Not Appearing

Possible Causes:

Debug Steps:

  1. Check API key validity
  2. Verify cache directory is writable
  3. Enable WordPress debug logging
  4. Run test suite for diagnostics

Language Switcher Not Displaying

Possible Causes:

Solutions:

  1. Check browser console for errors
  2. Verify Polylang language setup
  3. Add custom CSS if needed
  4. Test with default theme

Debug Mode

Enable debug mode for detailed logging:

๐Ÿค Contributing

We welcome contributions! Please see our GitHub repository for:

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE.md file for details.

๐Ÿ™ Acknowledgments

๐Ÿ“ž Support


Made with โค๏ธ by NativeMind.net | Part of the TaxLien.online project


All versions of wp-translation with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-json Version *
ext-curl Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nativemind/wp-translation contains the following files

Loading the files please wait ...