In wordpress a translation is part of the code. If you change translations you should track the .po
files in “git” as if it was any other kind of code.
An alternative option is to override the textdomain used for translation and use another one that uses another .mo
file located at some “safe” location. But this is just a band-aid over the “translation is code” problem as theme will change text strings from time to time and your self made translation will just not work properly.
Related Posts:
- Using classes instead of global functions in functions.php
- Template for individual post designs
- Automatic Updates For Private And Commercial Themes?
- Pushing updates to your premium theme
- Front End Post Submit Form
- Should we localize custom-made themes / plugins?
- Upgrading a custom theme through the Dashboard
- Prevent update check for specific theme
- Theme Customizer not loading
- Prevent WordPress updates from overriding custom language translations?
- How can one update a theme on a live site without interruption?
- Version control for both Vagrant config and themes being developed [closed]
- Some translations do not work in my template class
- How to correctly add JQuery in a WP theme?
- If I build a custom theme, will it update?
- How to add a second stylesheet to the editor
- WP 3.1 upgrade breaks AutoFocus+ theme
- Translation Issue with WordPress Theme Check in comment_form function
- How to make theme elements customizable in wordpress?
- Limitations when modifying wp_title with a filter
- How to edit theme functions file to modify pagination?
- Customizer: save setting/control content to post/page
- Customize how a WordPress theme looks like in the Theme Selector
- Customizer – loading settings/controls/sections/panels based on a id/page id
- Integrate WooCommerce theme with a WordPress theme [closed]
- Widget Option is Missing
- How do you use WordPress for a website that’s not in a blog format?
- searchform.php doesn’t work properly
- Customizer: get_preview_url() inside customize_save_after hook
- New to WordPress – Read the Codex, Other Docs; Still Confused
- Create theme for mobile phones and tablets only?
- How to add custom page elements to the WYSIWYG editor?
- Can’t change theme name
- How to make updatable custom WordPress theme?
- Is hand coding required at all?
- Menu names not getting translated
- WordPress Twenty-Fourteen: How to Remove Home Page Header Image from Other Pages
- How to dowload and edit content of a website
- Update modified Shopify third-party theme [closed]
- How to prevent XSS attack in wordpress theme?
- Best strategy for providing theme options using customizer
- How Does One Create a Global Variable Repository
- Display Today’s date outside the loop?
- How to convert that page to a wordpress template? [closed]
- Turning WordPress Into full-featured website?
- How do I send out an update for my custom wordpress theme?
- Theme folder name changed after update theme
- .htaccess for file .zip for update WordPress Theme self-host [closed]
- What is the meaning of WordPress’s recommended css classes and where are they applied?
- WooCommerce: multiple input field for multiple product variations
- Redirect to another page using contact form 7? [closed]
- How to set a page as homepage in stead of the newspages?
- Renaming a theme so it aids SEO and the theme used is hidden
- Admin: sub menu doesnt display under apperance when activate my themes
- Automated Footer information
- how to get the post attachement image in full size?
- Does the textdomain have to be the theme’s name?
- How do I get the trackback count of a post in wordpress without writing an SQL query?
- Overrite parent functions using child functions
- Default Text not showing from customizer
- Best way to develop a new theme on a live site, with new content? [closed]
- Child Theme header1.php file not overwriting parent theme’s header1.php file
- How do I make the most minimal vanilla theme possible with nothing but raw content?
- Installing new theme on running site
- Can I Set Up Session in WordPress Custom Page
- Does code in function.php differ from theme to theme
- WordPress 3.8 Backend Admin Color Scheme add more scheme how to do?
- Is it acceptable for a WordPress theme to not accept widgets?
- Updating a live theme safely?
- WordPress Theme Validator?
- Should all references to a text domain be to my current theme?
- Theme thumbnail in dashboard
- If you were to start using a WordPress framework today, which one would you use? [closed]
- Why set a second parameter in the translate function?
- How to have content scroll over background
- 3 Level Deep Navigation Menu Not Showing All Levels
- WordPress Template Part in iFrame
- How can I change the theme of different posts using a plugin?
- Template for landing pages
- How to change the theme directory uri for localhost?
- Set a featured image as a replacement to the header image
- Replace site title with logo when logo is uploaded in customizer using
- Is it possible to have a theme that uses only one single page?
- Custom theme: How to call archive-post.php for viewing blog posts
- Will my site get messed up when the wordpress theme updates if I edited the html code in the editor to change footer?
- underscores use of the article element on the page template
- How to transfer one domain to another domain without losing theme options (customizer)?
- Plugin does not work in custom theme
- How to Have a Pure HTML Sub Directory In WP Site
- How to correctly enqueue the parent and child theme stylesheets in the creation of a child theme? [duplicate]
- Create a child theme from multiple themes
- Theme not showing up
- html5-reset theme does not show the image [closed]
- Managing WordPress Theme
- Theming Using Bootstrap Glyphicons and WordPress Dashicons
- featured content: which area does this cover [closed]
- Change image size depending on page
- WordPress page/blog incorporated into static website
- Theme Customizer not displaying saved values in wp_head (CSS)
- Random white space before doctype